Re: createTextNode and IE7
Peter Michaux wrote:
> Randy Webb wrote:
> > The function, as written, works correctly in FF2.0, Opera9 and AIUI,
> What is "AIUI"?
"As I understand it". :-)
> Clearly there is appeal to your technique which is why I played with it
> until I found the Safari problem. Then I started to get nervous that
> some other browser might be able to do XHR but the script blocks
> wouldn't run.
> The advantage of using eval() is that as long as the programmer knows
> how the code has to be written then it is extremely likely that the
> browser will be able to run the scripts.
The simplicity of the eval method is alluring, however the whole
exercise is based on using innerHTML which isn't part of a standard
anyway. JSON already freely uses eval so there is some acceptance of
its use there.
Perhaps there is something in the DOM 3 (XML) Load and Save spec?