Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 42: Line 42:
$( document ).ready(function(e) {
$( document ).ready(function(e) {
$(".lang input[name='langOptions']").change(function(e){
$(".lang input[name='langOptions']").change(function(e){
 +
  console.log("BLA");
   chosenLang = $(e.delegateTarget).attr("value");
   chosenLang = $(e.delegateTarget).attr("value");
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery("#languageTexts div").hide(); //remove previous texts!
-
   jQuery("#languageTexts).find(chosenLang).show();
+
   jQuery(chosenLang).show();
});
});
});
});

Revision as of 13:06, 4 October 2013

Thanks to