Template:Team:Waterloo/JS/CiteTag
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
$( "cite" ).each( | $( "cite" ).each( | ||
- | function( citeTag ) { | + | function( index, citeTag ) { |
citeTag.val( "<a>" + $( "#Citation_" + citeTag.attr("ref") ).val() + "</a>" ); | citeTag.val( "<a>" + $( "#Citation_" + citeTag.attr("ref") ).val() + "</a>" ); | ||
} | } |
Revision as of 23:26, 8 October 2014