Closed zoerooney closed 10 years ago
Can you give more detail on what's not working ? Can you give a code example ?
When you use the HTML5 search field, clicking to clear doesn't reset the filter. See: http://jsfiddle.net/XcZ8s/
You just need to setup the right events. Use the bind property for that.
$('#searchfield2').quicksearch('ul#group2 li', {
bind: 'search keydown'
});
I think I may add it as a default
I do think it makes sense as a default as well, but thanks for the solution!
Done in 2.0.2. http://plugins.jquery.com/jquery.quicksearch/2.0.2/ Hope you like it.
This is still not working on IE11 regardless of binding manually or not.
are you using <input type="search" /> ? or text ?
using type="search"
You can reproduce it using the Super Table sample: http://deuxhuithuit.github.io/quicksearch/r/examples/super_table.html
I tested on 2 different machines running IE11 and same result with both. When you click the X to clear the type="search" field, it doesn't do anything. Seems like IE isn't firing the proper event?
Seems like IE isn't firing the proper event?
Yup, according to this http://msdn.microsoft.com/en-us/library/ie/gg592978%28v=vs.85%29.aspx the event's called 'input' (a poor name IMHO).
I'll fix that right away. Thanks for reporting!
Thanks for the quick response! Please post here to let us know once the new build is ready and I'll test it out.
thanks again!
There you go: http://plugins.jquery.com/jquery.quicksearch/2.0.3/ !
I tested it on IE11 and it works great. I even fixed some bugs in the exmaples!
input event is added by default BTW.
Works perfectly...thanks!
Great!
Started to search into the "why" of this, which lead me to here but I didn't get any further: http://stackoverflow.com/questions/2977023/how-do-you-detect-the-clearing-of-a-search-html5-input