dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: CGI
Expertise: Beginner
Dec 22, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Using the Find Method of the Window Object

Question:

Can I find the text on an HTML page from another window (where the find option is available)?

Answer:

If you are using Netscape Navigator 4+, you can use the find method of the Window object. This method works just as you would expect in that you can specify the string to look for, case-sensitivity, and direction. The syntax is as follows:

window.find(StringTLookFor, IsCaseSensitive, SearchBackwards)

IsCaseSensitive and SearchBackwards are booleans. Specify either TRUE or FALSE for these variables. Alternatively, you can call the find method with no arguments. Doing so will invoke the Find dialog box, allowing the user to specify their own arguments.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date