Re: [Proto-Scripty] Textarea as a container

2011-11-22 Thread David Behler
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

Re: [Proto-Scripty] Textarea as a container

2011-11-22 Thread bill
On 11/22/2011 8:25 AM, David Behler wrote: 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 Thanks David, that's easy

Re: [Proto-Scripty] Textarea as a container

2011-11-22 Thread Walter Lee Davis
Yes, but ONLY* if the two URLs share a common host (and protocol). Google 'Same Origin Policy' for more gory details. Walter * Absent some other trust framework with allowed endpoints. On Nov 22, 2011, at 8:25 AM, David Behler wrote: From the top of my head and totally untested: new