alternative to body onload=""

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Cartwright

    #1

    alternative to body onload=""

    Is there a functional equivalent to <body onload="functio n call" in the main script.

    Can one do something like document.body.o nload=function call?
  • VK

    #2
    Re: alternative to body onload=&quot;&q uot;

    self.onload = myFunctionName;
    /*no parenthesis after function name!*/


    Comment

    Working...