You are here: Reference > JavaScript > client-side > browser > methods > NavigateAndFind (external)

NavigateAndFind method (external)

Browser support:
Loads the document at the specified URL into the current window and selects the specified text.


object.NavigateAndFind (URL, textToFind, findInFrame);
You can find the related objects in the Supported by objects section below.


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:
    <script type="text/javascript">
        function LoadURL () {        // Internet Explorer only
            if (window.external) {
                var url = "";
                window.external.NavigateAndFind (url, "dottoro" ,"");
    <button onclick="LoadURL ();">Load a new document!</button>
Did you find this example helpful? yes no

Supported by objects:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content