aspose file tools*
The moose likes Struts and the fly likes Calling a javascript function after getting ajax response + struts 2.1.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Calling a javascript function after getting ajax response + struts 2.1.6" Watch "Calling a javascript function after getting ajax response + struts 2.1.6" New topic
Author

Calling a javascript function after getting ajax response + struts 2.1.6

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 759
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 !!


Jigar Naik


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use the notifyTopics attribute.
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 759
hey david,

Thanks a lot. it worked.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a javascript function after getting ajax response + struts 2.1.6