Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 41: Line 41:
$( document ).ready(function(e) {
$( document ).ready(function(e) {
-
$(".lang input[name='langOptions']").change(function(){
+
$(".lang input[name='langOptions']").click(function(){
-
   chosenLang = $(".lang > .active > input").val()
+
  console.log("bla");
 +
   chosenLang = $(".lang > .active > input").val();
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery(chosenLang).show();
   jQuery(chosenLang).show();

Revision as of 12:04, 4 October 2013