A JQUERY standard way of storing the original value of a form field?
<p>Is there a standard way in JQUERY to (at document ready time) store the original values of the form fields on the page in order to check (later) whether the fields have truly changed or not?</p>

<p>Normally I will do something like this:</p>

<pre><code>var NameField = $("INPUT[name='NameField']");
//Record the original value.
NameField.OriginalVal = NameField.val();
</code></pre>

<p>This is simple enough, but I'm wondering of there is a "Standard" way to do it.</p>

<p><B>EDIT</B></p>

<p>One added requirement that I forgot is that it needs to work for all types of form fields including select and textareas.</p>
