NavigateAndFind method (external)
Loads the document at the specified URL into the current window and selects the specified text.
Syntax:
You can find the related objects in the Supported by objects section below.
Parameters:
Required. String that specifies the location of the document to load. Use a fully qualified path, including the protocol. | |||||||
Required. String that specifies the text to highlight in the loaded document. | |||||||
Required. String that specifies the name of the frame to highlight in. Use an empty string if you want to highlight in the entire document. |
Return value:
This method has no return value.
Example HTML code 1:
This example illustrates the use of the NavigateAndFind method:
|
||||
<head> <script type="text/javascript"> function LoadURL () { // Internet Explorer only if (window.external) { var url = "http://help.dottoro.com"; window.external.NavigateAndFind (url, "dottoro" ,""); } } </script> </head> <body> <button onclick="LoadURL ();">Load a new document!</button> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by objects:
Related pages:
External links:
User Contributed Comments