When is the earliest I can use document.getEle mentsByTagName( ) safely -
must it be after the main HTML document has loaded (so I could trigger
it via body onload), or can I use it earlier than this without
generating a javascript error?
I suspect the answer is the former, but I'm just seeking confirmation
before I make some alterations to the code I'm using.
Thanks,
Ian
must it be after the main HTML document has loaded (so I could trigger
it via body onload), or can I use it earlier than this without
generating a javascript error?
I suspect the answer is the former, but I'm just seeking confirmation
before I make some alterations to the code I'm using.
Thanks,
Ian
Comment