Submitting the form
-
I’m attempting to submit the form when a dropdown is selected with the following javascript:
$(function() { $('#taxselect-1').change(function() { this.form.submit() }); });However, it’s directing me away from the page and to a 404 error page. The url looks like it is trying to perform a typical search
www.myurl.com/my-original-page/?s=58cc04853e&aformid=1431&taxo%5B0%5D%5Bname%5D=sector&taxo%5B0%5D%5Bterm%5D=awpqsftaxoall&taxo%5B1%5D%5Bname%5D=client&taxo%5B1%5D%5Bterm%5D=benfield-motor-group&taxo%5B2%5D%5Bname%5D=media-tagsAny help would be appreciated.
Thanks
http://ww.wp.xz.cn/extend/plugins/ajax-wp-query-search-filter/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Submitting the form’ is closed to new replies.