We want to help developers like you. Tell us about how you work: http://qsurvey.mozilla.com/s3/Developer-Audience-Survey-V2/?s=mdn


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


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,