Team:ETH Zurich/labblog/buttons

From 2014.igem.org

(Difference between revisions)
Line 11: Line 11:
     });
     });
-
     $("text").on("click", function(){
+
     $("text button").on("click", function(){
-
        var filtertag = $(this).attr('class');
+
-
        $("article").hide().filter('.' + filtertag).show();
+
-
    });
+
-
 
+
-
    $("button").on("click", function(){
+
         var filtertag = $(this).attr('class');
         var filtertag = $(this).attr('class');
         $("article").hide().filter('.' + filtertag).show();
         $("article").hide().filter('.' + filtertag).show();

Revision as of 12:31, 1 September 2014






View all Lab Weekly Meetings Modeling
Oldest Newest