• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a javascript function after getting ajax response + struts 2.1.6

 
Jigar Naik
Ranch Hand
Posts: 761
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I wanted to call a java script function after i get the ajax response from the server, but i am not able to find any way of doing this.

I am using struts 2.1.6

Bellow is the struts ajax control on which i am making request.


I wanted to call the setSavedTrue(); mehtod of java script when i get the ajax response.

Can anybody halp me out with this ?

Thanks !!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the notifyTopics attribute.
 
Jigar Naik
Ranch Hand
Posts: 761
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey david,

Thanks a lot. it worked.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic