Hi
In case your html page consists of frameset, function
getElementsByTagName from tag 'body' return null. And
another reason
can be: your javascript code is running before all document
is loaded.
For more exact answer I need more details: HTML code of the
page, all
js and how it's attached to document.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Information googlegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/JavaScript-I
nformation?hl=en
-~----------~----~----~----~------~----~------~--~---
|