[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
Alertnatively just for your reference these are also some ways to get what you desire : $('form').each(function(){ $(this).children('input').each(function(){ alert(this.name); alert($(this).val()); }) }); Thanks & Regards, Dhruva Sagar. Samuel Goldwyn

[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
This should help : $('form > input').each(function() { alert(this.name); alert($(this).val()); }); Thanks & Regards, Dhruva Sagar. Jonathan Swift - "May you live every day of your life." On Wed, Sep 16, 2009 at 3:26 PM, pr