Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 33: Line 33:
$( document ).ready(function() {
$( document ).ready(function() {
$(".lang button").click(function(e){
$(".lang button").click(function(e){
-
   console.log(e.target);
+
   btn = $(e.target);
-
   btn = e.target;
+
   btnLang = btn.attr("data-target");
-
   console.log(e.target.data-target);
+
   jQuery(btnLang).show();
});
});
});
});
</script>
</script>
</html>
</html>

Revision as of 11:03, 4 October 2013