Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Note:  Support for window.find() might change in future versions of Gecko . See bug 672395.

Summary

Finds a string in a window.

Syntax

window.find(aString, aCaseSensitive, aBackwards, aWrapAround,
            aWholeWord, aSearchInFrames, aShowDialog);
aString
The text string for which to search.
aCaseSensitive
Boolean value. If true, specifies a case-sensitive search.
aBackwards
Boolean. If true, specifies a backward search.
aWrapAround
Boolean. If true, specifies a wrap around search.
aWholeWord Unimplemented
Boolean. If true, specifies a whole word search. This is not implemented; see bug 481513.
aSearchInFrames
Boolean. If true, specifies a search in frames.
aShowDialog
Boolean. If true, specifies a show Dialog.

Returns

true if the string is found; otherwise, false.

Example

--

Notes

--

Specification

This is not part of any specification.

Метки документа и участники

 Внесли вклад в эту страницу: Ac1521, fscholz, MHasan, teoli, ethertank, Sheppy, trevorh, ziyunfei, Jürgen Jeka, khela, BenB, Mgjbot, Potappo, Dria, Fanzao, Nickolay, Mw22
 Обновлялась последний раз: Ac1521,