moorehed
04-12-2004, 01:32 PM
this is strange...
i downloaded a javascript and am attempting to integrate it with my php generated page... i am getting this error when php generates the page:
Line: 1
Char: 1
Error: 'myEditor.document.body' is null or not an object
Code: 0
URL: http://localhost/php/php.exe/dev/logon/main.php
however, when i view source, copy and paste it into a new file and save it as an htm file, then open that it doesn't give an error...
in both cases everything works as it should... just gives me an anoying error when i use it through php... why would this happen? it doesn't seem to me like there should be a difference.
i downloaded a javascript and am attempting to integrate it with my php generated page... i am getting this error when php generates the page:
Line: 1
Char: 1
Error: 'myEditor.document.body' is null or not an object
Code: 0
URL: http://localhost/php/php.exe/dev/logon/main.php
however, when i view source, copy and paste it into a new file and save it as an htm file, then open that it doesn't give an error...
in both cases everything works as it should... just gives me an anoying error when i use it through php... why would this happen? it doesn't seem to me like there should be a difference.