Team:ETH Zurich/labblog/buttons
From 2014.igem.org
(Difference between revisions)
Line 84: | Line 84: | ||
$("a#insidelink").on("click", function(){ | $("a#insidelink").on("click", function(){ | ||
var targetid = $(this).attr('targetid'); | var targetid = $(this).attr('targetid'); | ||
- | $("article#targetid").show(); | + | $("article#"+"targetid").show(); |
}); | }); | ||
Revision as of 23:31, 7 October 2014