We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


Jump to:
startFind( mode )
Return type: no return value
Call this method to handle your application's "find" command.  This opens the findbar, focuses the edit field for the search term, and selects its contents.  The first time this is called for a given findbar, the findbar will flash to draw attention to itself.  The mode should be one of FIND_NORMAL, FIND_TYPEAHEAD, or FIND_LINKS.  If you don't pass a mode, the last-used mode for the same findbar is used.  If the findbar hasn't been used before, FIND_NORMAL is the default.


Typically, you'll simply bind this method to your "find" command, like this:

<command name="cmd_find" oncommand="gFindBar.startFind(gFindBar.FIND_NORMAL);"/>

Document Tags and Contributors

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