Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 110: Line 110:
//alert (removeHTMLTags(notags[3]));
//alert (removeHTMLTags(notags[3]));
var currtitle=removeHTMLTags(notags[3]);
var currtitle=removeHTMLTags(notags[3]);
-
if (currtitle.find(title)>0)  
+
if (currtitle.search(title)>0)  
{
{
if (i+1<titles.length) return ans.substring(ans.indexOf(titles[i]),ans.indexOf(titles[i+1]));
if (i+1<titles.length) return ans.substring(ans.indexOf(titles[i]),ans.indexOf(titles[i+1]));

Revision as of 01:39, 26 October 2008

Gallery Bricks Notebook Team Project Home