Here’s something strange. I have two machines, the first is Windows
running WEBrick, and the eval(request.responseText) is needed otherwise
nothing shows up.
My other machine, running the same code deployed with Switchtower, and
running Debian with lighttpd, doesn’t need the eval() call, and if I
leave it in, my generated script runs twice.
RJS is very cool. I’m just at the point in my app where I need this
functionality, and I’d just started building this all by hand:
var foo = $('foo'); var bar = document.createElement('div'); foo.innerHTML = .....
Boy, am I glad RJS came along!