Does Javascript/jQuery have an in-built method or plugin to check the values/names of all form data?
<p>When using PHP and I want to find out the data being posted, I simply dump the array <code>$_POST</code> which will provide me with the <code>name=</code> attribute of all html form elements that have been submitted <code>input, select, textarea</code> etc, and their <code>value=</code> attributes in an easy to read manner.</p>

<p>I'm wondering if Javascript or the jQuery library has a method/plugin that does the same thing for all html form elements on the page? This would be very useful for testing out client-side validation etc.</p>

<p>Any answers would be greatly appreciated, as this would help me save a lot of time debugging!</p>
