Difference between revisions of "Team:William and Mary/Database"

Line 63: Line 63:
  
  
   <!-----Search Results------>
+
   <!--Search Results------>
  
  
Line 137: Line 137:
 
         function() {
 
         function() {
 
           $('#checkbox-area input').change(search);
 
           $('#checkbox-area input').change(search);
 +
          $("fieldset legend").click(function() {
 +
            console.log('legend clicked', this)
 +
            if ($(this).parent().children().length == 2)
 +
              $(this).parent().find("div").toggle();
 +
            else {
 +
              $(this).parent().wrapInner("<div>");
 +
              $(this).appendTo($(this).parent().parent());
 +
              $(this).parent().find("div").toggle();
 +
            }
 +
          });
 
         }
 
         }
 
       );
 
       );
      $("fieldset legend").click(function() {
 
        console.log('legend clicked', this)
 
        if ($(this).parent().children().length == 2)
 
          $(this).parent().find("div").toggle();
 
        else {
 
          $(this).parent().wrapInner("<div>");
 
          $(this).appendTo($(this).parent().parent());
 
          $(this).parent().find("div").toggle();
 
        }
 
      });
 
 
 
     });
 
     });
  

Revision as of 23:00, 30 October 2017

Outreach Database: select tags for search

DATABASE


Quick ID Jump: