Thursday, March 09, 2006

Javascript in OpenLaszlo

Q: Can the Javascript in OpenLaszlo code talk to the browser DOM?

A: No.

I wasn't sure whether the Javascript in OpenLaszlo could access the browser DOM, typical objects like document. So I wrote a little test that did el = document.getElementById("x") within a script tag. I suppose the result is to be expected: the debugger output complains "reference to undefined variable 'document'".

0 Comments:

Post a Comment

<< Home