On Nov 6, 2:41 pm, "Samuel Vogel" <[EMAIL PROTECTED]> wrote: > Hey guys, > > It seems that I'm unable to make up the right search term for google to find > what I'm looking for: > The eays jQuery way to make my form get submitted as soon as the user > chooses an element from my select box. > > Should be easy,shouldn't it?
Yes, it should, and is =) What have you tried so far? http://docs.jquery.com/Events > http://docs.jquery.com/Events/change#fn > http://docs.jquery.com/Events/submit#fn example: $(document).ready(function () { // what you want to watch $('select').change(function () { var myform = $(this).parent(); // submit the form based on something? if ($(this).val() == 1) { myform.submit(); } }); });