Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 41: Line 41:
$( document ).ready(function() {
$( document ).ready(function() {
-
$(".lang button").click(function(e){
+
$(".lang input").click(function(e){
   console.log("I was clicked");
   console.log("I was clicked");
 +
  console.log(e.target);
   btn = $(e.target);
   btn = $(e.target);
   btnLang = btn.attr("data-target");
   btnLang = btn.attr("data-target");

Revision as of 11:27, 4 October 2013