I'm trying to change a filter values programatically with jquery with $("#filterid").val("new value").change() but it's not working, FJS doesn't realise about the new value, only interacting directly with the filter provoques filtering.
It works in auto demo (try in console with $("#searchbox").val("the go").change(); ), but my code is the normal version, no auto.
I'm trying to change a filter values programatically with jquery with
$("#filterid").val("new value").change()
but it's not working, FJS doesn't realise about the new value, only interacting directly with the filter provoques filtering.It works in auto demo (try in console with
$("#searchbox").val("the go").change();
), but my code is the normal version, no auto.How can I achieve this? thanks!