JavaScript Reference/Javascript Methods/NavigateAndFind — различия между версиями

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

Текущая версия на 08:22, 26 мая 2010

"NavigateAndFind()" Example

    
<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>



"NavigateAndFind()" is applied to

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



"NavigateAndFind()" Syntax, Parameters and Note

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.