PRB: outerHTML Property of HTML Element Does Not Display the Default Attribute (812417)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.5 SP2
- Microsoft Internet Explorer (Programming) 6.0
- Microsoft Internet Explorer (Programming) 6 (SP1)
SYMPTOMSMicrosoft Internet Explorer may remove the type property when it
returns the outerHTML property for either of the following HTML elements:
CAUSEBy default, the type property of an INPUT element is text. By default, the type property of a BUTTON element is button.
Internet Explorer can detect the default property of an HTML element after it detects the type of the element. Internet Explorer omits the default property when the outerHTML property of the element is retrieved, so outerHTML does not display the default property.
STATUS This
behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbDHTML kbprb KB812417 kbAudDeveloper |
---|
|