Forum Moderators: open
this code...
document.write(XXX);
..will give this information...
ReferenceError: XXX is not defined
Your either need to use this...
document.write( 'XXX' );
document.close();
...or this...
var XXX = 'Hello World';
document.write( XXX );
document.close();
Better still don't use...
document.write();
...at all. :)
Whatever.
reading your posts, always takes me back, with deep joy, to Professor Stanley Unwin
and his splendid way of explaining the many thingies...
Maximole Satisfactual & Deep Joy [youtube.com]