Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 7: Line 7:
   <label class="btn btn-default">
   <label class="btn btn-default">
-
     <input type="radio" name="langOptions" id="option1" data-target=".french"> <img style="max-width:10px;" src="https://static.igem.org/mediawiki/2013/b/b8/Heidelberg_start_flags_France.png">
+
     <input type="radio" name="langOptions" id="option1" value=".french"> <img style="max-width:10px;" src="https://static.igem.org/mediawiki/2013/b/b8/Heidelberg_start_flags_France.png">
   </label>
   </label>
   <label class="btn btn-default">
   <label class="btn btn-default">
-
     <input type="radio" name="langOptions" id="option2" data-target=".italian"> <img style="max-width:10px;" src="https://static.igem.org/mediawiki/2013/b/b8/Heidelberg_start_flags_France.png">
+
     <input type="radio" name="langOptions" id="option2" value=".italian"> <img style="max-width:10px;" src="https://static.igem.org/mediawiki/2013/b/b8/Heidelberg_start_flags_France.png">
   </label>
   </label>
   <label class="btn btn-default">
   <label class="btn btn-default">
Line 44: Line 44:
   console.log("bla");
   console.log("bla");
   console.log(jQuery(this).val());
   console.log(jQuery(this).val());
-
   console.log(e.target);
+
  var val = $('input:radio[name=theme]:checked').val();
 +
   console.log(val);
   //btn = $(e.target);
   //btn = $(e.target);
   //btnLang = btn.attr("data-target");
   //btnLang = btn.attr("data-target");

Revision as of 11:40, 4 October 2013