jquery-editable-select
jquery-editable-select copied to clipboard
This plugin does support dynamic reload?
@meteoric9637 Well, the description of your issue doesn't help much, but i'm guessing that what you're trying to do is remove the applied filter to reset the select options to it original state, right?
This plugin doesn't have a "built in" function to do so (it probably should have a clearFilter function maybe), but what you can do is simply use a line of javascript code from wherever you want to clear the input value and call the "filter" again, like this:
$('#myselect').val('').editableSelect('filter');
myselect would be the id of your select html element. This is what i'm using to reset my select to it original state and it works like a charm.
Hope this helps :)
@meteoric9637 Well, the description of your issue doesn't help much, but i'm guessing that what you're trying to do is remove the applied filter to reset the select options to it original state, right?
This plugin doesn't have a "built in" function to do so (it probably should have a clearFilter function maybe), but what you can do is simply use a line of javascript code from wherever you want to clear the input value and call the "filter" again, like this:
$('#myselect').val('').editableSelect('filter');
myselect would be the id of your select html element. This is what i'm using to reset my select to it original state and it works like a charm.
Hope this helps :)
very nice result!help me a lot!