INFO: Override a Default Action in Internet Explorer 5 by Canceling the Event (231322)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q231322 SUMMARY
You can override an event's default action by setting the returnValue property on the window.event object to false. This will cancel the event.
REFERENCES
For more information, see the following article in the Microsoft Knowledge Base:
216435 INFO: Validate Data when Submitting Forms with Internet Explorer
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbDHTML kbinfo KB231322 |
---|
|