I have a <textarea id="foo"> which contains JS code that people can
copy and paste. It's dynamically generated, so I do something like
this:

$('foo').update('<script ..... ' + this.someVariable + '/>);

The documentation on Element.update states that the script will be
evaluated rather than inserted literally. It does not tell me how to
stop the evaluation. How may I do this?

--

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.


Reply via email to