Template:Team:Waterloo/JS/CiteTag

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<script type="text/javascript">
<script type="text/javascript">
-
$.each(
+
$( "cite" ).each(
-
  $( "cite" ),
+
   function( citeTag ) {
   function( citeTag ) {
     citeTag.val( "<a>" + $( "#Citation_" + citeTag.attr("ref") ).val() + "</a>" );
     citeTag.val( "<a>" + $( "#Citation_" + citeTag.attr("ref") ).val() + "</a>" );

Revision as of 23:25, 8 October 2014