Re: Clearing Data from Form After Ajax Submit

2006-12-06 Thread nate

'complete' => '$("formID").reset()"


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Clearing Data from Form After Ajax Submit

2006-12-06 Thread funksplutter

Sorry if this has been covered before somewhere.

I have a form which is submitted using Ajax but I would like the
submitted data to be cleared from this form as soon as the Ajax
operation has taken place. As an Ajax noob I'm sure this is really
simple - I just can't work out how to do it.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---