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).val( "<a>" + $( "#Citation_" + $(this).attr("ref") ).val() + "</a>" );
+
     $(this).innerHTML( "<a>" + $( "#Citation_" + $(this).attr("ref") ).text() + "</a>" );
   }
   }
);
);

Revision as of 23:30, 8 October 2014