Team:TU-Eindhoven/Template:UseReferencing
From 2013.igem.org
(Difference between revisions)
Pascalaldo (Talk | contribs) |
Pascalaldo (Talk | contribs) |
||
Line 3: | Line 3: | ||
$('.tue-reference').each(function() { | $('.tue-reference').each(function() { | ||
var $this = $(this); | var $this = $(this); | ||
- | var refid = $this('.tue-refid').html(); | + | var refid = $this.children('.tue-refid').html(); |
$('.tue-reflist').append("" + refnr + ". " + $this.html() + "<br />"); | $('.tue-reflist').append("" + refnr + ". " + $this.html() + "<br />"); | ||
$this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>"); | $this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>"); |
Revision as of 10:21, 26 May 2013