View Single Post
Old 07-23-2011, 08:51 PM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Not used ajaxForm(), so I don't know if it works in the same way, but using straightforward ajax(), retrieving an html page that includes an element with, say, #message, containing the result of submitting a form then:

Code:
  ...
  success: function(data){
	var message = $('#message',data).html();
        ...
will allow the message to be retrieved.
SB65 is offline   Reply With Quote
Users who have thanked SB65 for this post:
VIPStephan (07-24-2011)