RemoteSilicon
Programmer
Im sorry that I was unable to interpret my problem correctly. Actually I have a framed document. Having three frames naming Top, Left and main. Now I want to capture onLoad event of any page that should be loaded in main. I dont know which page will be loaded in main 'cause the client Im developing the for will determine that. I am writing a general code for all pages in main. That's why I want to capture onLoad event of DOCUMENT or BODY and not WINDOW or FRAMESET event. Thanks