JavaScript Reference/Javascript Methods/NavigateAndFind

Материал из Web эксперт
Перейти к: навигация, поиск

"NavigateAndFind()" Example

   <source lang="javascript">
   

<html> <body> <script language="JavaScript"> function function1() {

   window.external.NavigateAndFind("http://www.wbex.ru", "Java", ""); 

} </script> <body> <input id=myB type="button" value="Navigate and Find" onclick="function1();"> Go</body>


     </source>
   
  


"NavigateAndFind()" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |external | +----------------+--------------------------------------------------------------+

     </source>
   
  


"NavigateAndFind()" Syntax, Parameters and Note

   <source lang="javascript">

Note: Loads a document into the current window and selects the text if it exists in the new document.

Syntax:

window.external.NavigateAndFind(param1, param2, param3) Parameters:

   param1   Required; the URL of a web page.
   param2   Required; the text to select.
   param3   Required; the name of the target frame.
   
     
     </source>