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(){
$(".lang input[name='langOptions']").change(function(){
-
  console.log("bla");
+
   chosenLang = $(".lang > .active > input").val()
-
   chosenLang = $('.lang input[name="langOptions"]').val();
+
-
  console.log(chosenLang);
+
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery("#languageTexts div").hide(); //remove previous texts!
   jQuery(chosenLang).show();
   jQuery(chosenLang).show();

Revision as of 11:57, 4 October 2013