Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading values from a currently opened WEB Page

Status
Not open for further replies.

cmendez99

IS-IT--Management
Jan 21, 2003
10
0
0
US
Hello,

I am trying to figure out if there is a vbscript command/routine to check whether a value exists in a currently opened page (similar to Ctrl-f or Edit-Find). I've tried the SendKeys command, but have not had any luck with it, as this will find the text, but the environment will not know whether it was successful or not, and I'm not able to store the find results into a variable.

Any help will be greatly appreciated.

Thanks

 
Not sure of your purpose.

Did you want something beyond retrieving
Code:
document.body.innerText
and using
Code:
InStr()
on it?
 
Hello dilettante,

Thanks for responding so quickly.
That's exactly what I need.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top