http://fsc.no/timeplan_rommen_197.html
When you select a different week (uke) from a dropdown on the right or trainer from the left dropdown above the schedule, it submit automatically . You don’t need to click Submit(Vis).
How do you submit when you just select an option from a dropdown list?
Can it be done with jquery?
Thanks in advance.
Yes, you can do by triggering the
.submit()event, like this:Or, call the native event:
The above examples would make it happen with any
<select>element, just give it a different selector like an ID, for example:$("#mySelect"), or a class if you have multiple, for example:And bind it using: