An example url is located here: [link removed]
The code I have in place is simply this:
$('.jump-submit').on('change', function(e) {
var $this = $(this);
$this.closest('form').submit();
});
But if you click on the select box to choose a state, before you can choose a state, the form seems to be submitted anyways as if it's being triggered by an click
event, when I'm using the change
event.
Not very good at debugging this in the console, but have "Preserve Log enabled and also put a checkbox in "Load -> unload" in the Sources tab of Chrome, but stepping through it with "Pause on Exceptions" points to DOM Exception Failed to execute 'queryselectorall'
but than researching this says to not use "Pause on Exceptions" in chrome and that this is not a jQuery bug.
How to debug this properly and determine what is causing the page to refresh before the change event should be happening on this Select box?