Search & Filter Auto Submit
-
Hi;
I’m working with the Search & Filter plugin and it’s exactly what I needed! I would like to make my selections submit every time a dropdown is changed, as opposed to having to click the submit button.
In researching other posts, I’ve found that the solution is to implement this into my theme’s java script file:
$(“.searchandfilter select”).change(function() {
$(“.searchandfilter”).submit();
});I have put the line into my WooThemes Canvas’s ‘general.js’ file but it seems to make no difference. I still need to click on the submit button to make changes. I’ve tried placing it in various other js files but I’ve had no luck. The page in questions is this one:
http://richardrosenman.com/wordpress/portfolio/
Does anyone have any insight as to what I’m doing wrong?
Thanks!
The topic ‘Search & Filter Auto Submit’ is closed to new replies.