If you're not using any other options on the ajaxSubmit call then you
can just pass it a function to handle to the response text:

$('#myForm').ajaxSubmit(function(text) {
   $('#myTarget').append(text);
});

Otherwise you would use the "success" handler to do it.  For example:

var opts = {
   success: function(data) {
       $('#myTarget').append(data);
   }
};

$('#myForm').ajaxSubmit(opts);

Mike


I understand that it is possible to set a target which receives any updates
from an ajax post.
My question is, is it possible to have the data that is returned be appended
to existing data in the target div? If so how is this accomplished.

Reply via email to