This is for a CMS so I'm not really that concerned with it validating (as
long as it works).
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Yehuda Katz
  Sent: Thursday, December 28, 2006 1:02 PM
  To: jQuery Discussion.
  Subject: Re: [jQuery] Clearing all form field values


  You could try putting a form within a form. I'm not sure how valid it is,
but it definitely solves certain problems.

  -- Yehuda


  On 12/28/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
    The problem for me (in this case) is that the few fields that need to be
transmitted via AJAX (and then reset) are part of a larger form that I do
NOT want to get reset.

    I might just have to do each field manually.
    <!----------------//------
    andy matthews
    web developer
    certified advanced coldfusion programmer
    ICGLink, Inc.
    [EMAIL PROTECTED]
    615.370.1530 x737
    --------------//--------->

      -----Original Message-----
      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dave Methvin
      Sent: Thursday, December 28, 2006 11:56 AM
      To: 'jQuery Discussion.'
      Subject: Re: [jQuery] Clearing all form field values


      > $("form :input:not([EMAIL PROTECTED]):not(button)").val("")

      That will clobber the values on radio buttons and checkboxes. Here's
another vote for form.reset().

    _______________________________________________
    jQuery mailing list
    [email protected]
    http://jquery.com/discuss/






  --
  Yehuda Katz
  Web Developer | Wycats Designs
  (ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to