Thanx, would have been nice to know that i had to include a plugin to
get it to work.
but no im stuck. the text that is put in to the textarea has its html
in entities format, so the < char is < and same with > know anyway
to fix that?
On Oct 24, 5:52 am, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > 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();
> }
>
> });