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

onFindAgainCommand

onFindAgainCommand( findPrevious )
Return type: no return value
Call this method to handle your application's "find next" and "find previous" commands.  You should specify true as the input parameter to perform a "find previous" operation, or false to perform a "find next."

Example

Typically, you'll simply bind this method to your "find next" and "find previous" commands, like this:

<command name="cmd_find_previous" oncommand="gFindBar.onFindAgainCommand(true);"/>
<command name="cmd_find_next" oncommand="gFindBar.onFindAgainCommand(false);"/>

Document Tags and Contributors

 Contributors to this page: Sheppy, fqueze, pippijn
 Last updated by: Sheppy,