I have a javascript function which blairs the “body” and opens (visibles) a div which shows “Loading Page…” text.
Now, I want to add it to all of the controls that are clickable, like links and images and when Select value is changed. Now how can I do that?
I tried to use Unload event though it wont work. When I use onClick event in the body tag it does work though it also triggers the function when the user clicks on an empty spot on the page. Can I use the onClick event in BODY though somehow check if the user has clicked a link and not just clicked the mouse anywhere?
NOTE: I can’t add the onClick event to each link because I user ASP.NET and add most of the controls dynamically on runtime, and adding with ASP.NET recoursively is not reliable as I checked.
Please help, Thanks in advance,
Sagi Rodin.