PDA

View Full Version : jQuery Form Plugin



nikomou
09-28-2010, 08:06 AM
Hello,

I've set up the jQuery Form Plugin (http://jquery.malsup.com/form/#html) on my webiste - but instead of a text field, i have a drop down menu.

The first thing I would like to do, is to auto submit onChange of the dropdown menu,

And the second, would be to load <div id="loading> and waiting a second before the response is shown.

Thanks for your help guys :-)

jscheuer1
09-28-2010, 08:56 AM
I'm not sure what you mean by the second thing. But to auto submit onchange is simple in jQuery:


jQuery(function($){
$('select').change(function(){this.form.submit();});
});

No special plugin required.