File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Form Plugin Form Reference On Success callback Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Form Plugin Form Reference On Success callback" Watch "Form Plugin Form Reference On Success callback" New topic
Author

Form Plugin Form Reference On Success callback

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi All,

I have this HTML that is being generated by JSTL at the server. The number of forms depends on the number of items
enrolled in DB. Each form has output div that will be the target of the JSON response


Now, I used ajax to submit the form. I used the Jquery Form Plugin.
My problem is, how can I get reference to the submitted form object on the success callback so that I could only update the
correct output div?



Any idea please? Thanks.


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi,

After spending some time on the net, I found this link.
Exactly discusses what I need.



The $form is what I am looking form.
I got messed up with the responseText and JSON response thing.
I should better read the document carefully next time.

Thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form Plugin Form Reference On Success callback