Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 81: Line 81:
function trimContents(ans, title)
function trimContents(ans, title)
{
{
 +
ans=ans.replace("<h3></h3>","");
var titlepos=ans.search(title);
var titlepos=ans.search(title);
if (titlepos<0) return title+" not found";
if (titlepos<0) return title+" not found";

Revision as of 22:20, 25 October 2008

Gallery Bricks Notebook Team Project Home