...

View Full Version : Searching the Source



jamesd
02-24-2003, 02:18 PM
Dear all,

I'd like to search the source of the current page (html) for a string and display the next five characters in a text box in the page.
Is this possible?

Many thanks for any help,
James.

Danne
02-24-2003, 05:02 PM
I don't if you can do it on clientside, but you can on serverside...

jamesd
02-24-2003, 05:11 PM
Thanks for the reply Danne, needs to be clientside unfortunately

A1ien51
02-25-2003, 05:16 AM
Off the top of my head, try playing with

document.body.innerHTML;

jamesd
02-25-2003, 08:57 AM
:thumbsup:
Thanks, I think that'll do it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum