|
-
May 15th, 2004, 10:03 AM
#1
Thread Starter
Frenzied Member
javascript client events
Does any one now just off hand know how to quickly capture all the events for all controls on ie & netscape. I want to be able to turn it off and then turn it back on by calling a method in client javascript before my page hits the server for postback.
I am doing a file upload and before it begins i want to disable the buttons on page so there will be no more clicking, and I want to re enable them after. These people do not understand click the button once. I am opening a new window with a animation and a message, and I close it after postback by calling a method the upload control regestiers with the page.
Magiaus
If I helped give me some points.
-
May 16th, 2004, 06:20 AM
#2
I wonder how many charact
All events are handled by default through the Body element. You could insert a simple JS function that handles those events, and depending on whether a global js variable is set to true or false, capture the event by returning false, or allowing it continue down the chain by returning true. (or is it flip-flopped, lol, i don't remember off hand, false or true, or true or false...)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|