...is best place to look for this kind of question.<BR><BR>I *believe* you simply do<BR><BR><BODY onClick="yourFunctionName()"><BR><BR>Somethin g along these lines:<BR>http://developer.irt.org/script/848.htm<BR><BR><BR><BR>
Thanks Bill, I figured that out after submitting the question.<BR><BR>few days back I submitted a question about how IE knows that a new page has been requested, and starts spinning Earth (right top corner) indicating that something is happening.<BR><BR>I open a window that does not have the toolbar, scroll bar etc. When users click on the submit button they don't know if the new page is being loaded or not. I want to show that something is happening. I can do this by attaching onClick event to the Submit button, or onSubmit event on the form element. But I want to do it in a smart way so that I don't use these events. Somehow the document/window should realise that a new page(url) is being loaded. How?
> But I want to do it in a smart way so that I don't use these <BR>> events. Somehow the document/window should realise that a new <BR>> page(url) is being loaded<BR><BR>what's your reason for not wanting to use the events?