> What i would like to accomplish is though Ajax submit the form, grab
> the text that is returned and put it in a textarea (that is already
> hidden on the page, and will be unhidden when the form submit)
>
> I cant seem to find how to do this. if someone could point me in the
> right direction that would be great. thanx.

Use a 'success' handler to capture the response text and then set it
as the value to your text area.  Something like:

$('#myForm').ajaxForm({
    success: function(responseText) {
        $('#myTextarea').val(responseText).show();
    }
});

Reply via email to