• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Form Plugin Form Reference On Success callback

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!