Bug Tracker

Changes between Initial Version and Version 2 of Ticket #9172


Ignore:
Timestamp:
May 7, 2011, 10:24:52 PM (11 years ago)
Author:
timmywil
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9172

    • Property Priority changed from undecided to low
    • Property Status changed from new to open
    • Property Component changed from unfiled to attributes
  • Ticket #9172 – Description

    initial v2  
    55.getAttributeNode("value").nodeValue = "something";
    66}}}
    7 This will leave the value property unaffected. However, if the content attribute does not yet exist on the element (i.e. getAttributeNode returns null), the property is set in IE6/7.  This is usually ok since most elements would have their value set along with defaultValue, but it is a problem with textareas where there can be a value already set that should override the defaultValue( I think ).
     7This will leave the value property unaffected. However, if the content attribute does not yet exist on the element (i.e. getAttributeNode returns null), the property is set in IE6/7 when the fallback setAttribute("value", "something") is called.  This is usually ok since most elements would have their value set along with defaultValue, but it is a problem with textareas where there can be a value already set that should override the defaultValue( I think ).
    88
    99http://jsfiddle.net/timmywil/AWhvV/