absolutely! that's the diff.. I don't think jq can get back the
original default values.
On 11/10/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
> On 11/10/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> > of course the standard js method is
> >
> > document.forms[0].reset()
> >
>
> I've found that reset() returns the form values to what they were when they
> page initially loaded. So, if some of the form elements had been prefilled
> reset() would return the values of those elements to what they had been
> prefilled with instead of clearing them.
>
> On 11/10/06, Brandon Aaron <[EMAIL PROTECTED]> wrote:
> > Untested but maybe something like this:
> >
> > $('textarea, [EMAIL PROTECTED]', form).val('');
> >
> >
>
> This seems like it would do what you want.
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/