Template:Team:Waterloo/JS/CiteTag

From 2014.igem.org

(Difference between revisions)
Line 5: Line 5:
$( "cite" ).each(
$( "cite" ).each(
   function( index) {
   function( index) {
-
     $(this).innerHTML( "<a>" + $( "#Citation_" + $(this).attr("ref") ).text() + "</a>" );
+
     $(this).html( "<a>" + $( "#Citation_" + $(this).attr("ref") ).text() + "</a>" );
   }
   }
);
);

Revision as of 23:31, 8 October 2014