Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 72: Line 72:
   var btn= $(".menu_button_" + btnName);
   var btn= $(".menu_button_" + btnName);
-
   var href = btn.get(0).href;
+
   alert( btn.get(0).tagName);
-
alert(href);
+
   btn.click(function() { alert(btnName); });
   btn.click(function() { alert(btnName); });
}
}

Revision as of 22:13, 4 June 2010