simon551
IS-IT--Management
- May 4, 2005
- 249
total newbie. I'm trying to call 2 functions with onload. I realized that I was doing something wrong by having 2 different onload events in 2 different script files. One wouldn't fire.
I have these in 2 files:
window.onload=writeCurrName;
window.onload=startList;
how would you refer to the onload if I got rid of these and instead just had one:
window.onload=loadevent;
function loadevent(){
writeCurrName;
startList;
}
I tried this and it didn't work.
I have these in 2 files:
window.onload=writeCurrName;
window.onload=startList;
how would you refer to the onload if I got rid of these and instead just had one:
window.onload=loadevent;
function loadevent(){
writeCurrName;
startList;
}
I tried this and it didn't work.