In comp.lang.javascript message <d859522e-cf17-4f57-8228-486accbccad6@e3
9g2000hsf.googlegroups.com>, Wed, 17 Sep 2008 10:52:07, Fernando
<dj****@easyjob.netposted:
>
How can I find if the current document contains a certain substring?
Maybe with document.body.innerHTML.match(/String/g)
or OK = /String/.test(document.body.innerHTML)
It's a good idea to read the newsgroup c.l.j and its FAQ. See below.
--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.