Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 43: Line 43:
$(".lang input[name='langOptions']").change(function(){
$(".lang input[name='langOptions']").change(function(){
   console.log("bla");
   console.log("bla");
-
   console.log(jQuery(this).val());
+
   chosenLang = $('input:radio[name=theme]:checked').val();
-
  var val = $('input:radio[name=theme]:checked').val();
+
   jQuery("#languageTexts div").hide(); //remove previous texts!
-
   console.log(val);
+
   jQuery(chosenLang).show();
-
  //btn = $(e.target);
+
-
  //btnLang = btn.attr("data-target");
+
-
  //jQuery("#languageTexts div").hide(); //remove previous texts!
+
-
   //jQuery(btnLang).show();
+
});
});
});
});
</script>
</script>
</html>
</html>

Revision as of 11:42, 4 October 2013