[jQuery] Re: Know which form was submitted in a page with multiple forms

2009-09-05 Thread chamila de alwis
worked perfectly.. thanks again. On Sat, Sep 5, 2009 at 7:45 PM, Mike Alsup 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 submi

[jQuery] Re: Know which form was submitted in a page with multiple forms

2009-09-05 Thread chamila de alwis
I think this is the answer. Thanks Mike & patrick. I'll try and get back. On Sat, Sep 5, 2009 at 7:45 PM, Mike Alsup 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 t

[jQuery] Re: Know which form was submitted in a page with multiple forms

2009-09-05 Thread Mike Alsup
> 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

[jQuery] Re: Know which form was submitted in a page with multiple forms

2009-09-05 Thread Patrick
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 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