JQuery QuickSearch: Searching on load if the input isn't blank
Posted
by ckm-88
on Stack Overflow
See other posts from Stack Overflow
or by ckm-88
Published on 2010-03-24T19:00:07Z
Indexed on
2010/03/24
19:03 UTC
Read the original article
Hit count: 118
jQuery
|quicksearch
I have used the jquery quicksearch plugin and it works fine, except for one problem. I would like the quicksearch to run when the page is loaded. I have created a second quicksearch function (which is called when the page is loaded) and changed the bind to something else, but it won't work on "load" or "ready".
If I change the bind to "focus" and put the focus onto the textfield it works, but only in IE.
The reason I want to do this is because there is a "view" link where the user leaves the page. When they come back, I would like the search results to be as they left them.
© Stack Overflow or respective owner