I have not used it yet, but there is a plugin called dirtyform that would most likely do what you are wanting to do. It looks very nice.
p On Sep 5, 5:23 am, Chamila <cs2resp...@gmail.com> wrote: > I have a page which displays a list of resources in the database. For > each of these resources I have a comment form. I am using jQuery form > plugin to submit the form through ajax. > > After submitting I want to display the comment which was just > submitted w/o reloading the page. But how do I know which form was > submitted? I attach the resource ID as a GET variable to the action > url of the form. If I can get the action url then I think I'm saved.