Team:Warsaw/JSTest
From 2008.igem.org
(Difference between revisions)
Line 97: | Line 97: | ||
h3=new RegExp(/<(h3).*>(.*)<\/\1>/); | h3=new RegExp(/<(h3).*>(.*)<\/\1>/); | ||
- | var topics=ans.split(/<(h3).*>(.*)<\/\1>/); | + | var topics=ans.split(/<(h3).*>(.*)<\/\1>/g); |
for (var i=0;i<topics.length;i++)return topics[i]; | for (var i=0;i<topics.length;i++)return topics[i]; |
Revision as of 23:50, 25 October 2008
|