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");
-
   chosenLang = $('input:radio[name='langOptions']:checked').val();
+
   chosenLang = $('.lang input[name="langOptions"]').val();
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery(chosenLang).show();
   jQuery(chosenLang).show();

Revision as of 11:48, 4 October 2013