A
Andrew Poulos
I have an external js file where I set an onload event:
window.onload = function() {
//blah
}
I import the file in the head of the pages I'm working on. Some of the
pages need unique things set onload (including those in the external
js). How can I extend the window.onload in the external js to include
things unique to each page?
Andrew Poulos
window.onload = function() {
//blah
}
I import the file in the head of the pages I'm working on. Some of the
pages need unique things set onload (including those in the external
js). How can I extend the window.onload in the external js to include
things unique to each page?
Andrew Poulos