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 = $(".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:23, 4 October 2013

Thanks to