[Project_owners] user configurable shortcuts into sidebar functions...

Wladimir Palant trev at gtchat.de
Wed Mar 22 21:21:38 EST 2006

Gerald Vogt wrote:
> However, the DOM does not contain the key elements yet when the script 
> is running. The getElementById calls return null.

You shouldn't use getElementById before the window's load event. Use 
window.addEventListener("load") to add your handler and put this code there.


More information about the Project_owners mailing list