From the top of my head and totally untested:
new Ajax.Request('http://url-you-want-to-request', {
onSuccess: function(transport) {
$('id-of-your-textarea').setValue(transport.responseText);
}
});
David
Am 22.11.2011 14:19, schrieb bill:
I tried using a textarea as the container for Ajax.updater without luck.
I presume I need to write the js to take the response and put it in
the textarea, but the API just doesn't give me enough detail to use
Ajax.request to do that.
The returned data is plain text.
A bit of assistance would be appreciated.
--
Bill Drescher
william {at} TechServSys {dot} com
--
You received this message because you are subscribed to the Google
Groups "Prototype & script.aculo.us" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.