I have div thats basically a comment section and it's getting updated
via an ajax form call. I can't seem to find a way to empty the comment
box in the form that's being submitted. So what's happening once the
user clicks submit the div is being updated with the comment but the
textbox still has the comment in it. I can't seem to find a way to
empty that textbox. I tried using some javascript in the ['complete']
options of the ajax form but that didn't work. Can somebody help me
out or point me in the right direction?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Saturday, October 4, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment