Team:Heidelberg/languageIntroTest

From 2013.igem.org

(Difference between revisions)
m
m
Line 30: Line 30:
<script type="text/javascript">
<script type="text/javascript">
-
function showLang(e) {
 
-
console.log(e.target);
 
-
}
 
$( document ).ready(function() {
$( document ).ready(function() {
-
$(".lang button").click(showLang(e));
+
$(".lang button").click(function(e){
 +
  console.log(e.target);
 +
});
});
});
</script>
</script>
</html>
</html>

Revision as of 10:56, 4 October 2013