mozilla
Your Search Results

    Window.find()

    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

    DOM Level 0. Not part of any standard.

    This was added by with bug 9550.

    Document Tags and Contributors

    Last updated by: fscholz,
    Hide Sidebar