Side navigation
#13808 closed bug (notabug)
Opened April 22, 2013 02:04PM UTC
Closed April 22, 2013 02:21PM UTC
.attr("value", *** ) can set the value of an input element but it can't reset it
Reported by: | maxime.euziere@crossknowledge.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | attributes | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This bug (if it's a bug) is present on all the versions of jQuery.
Why .attr() can only set a value, when .prop can set and reset it?
Attachments (0)
Change History (1)
Changed April 22, 2013 02:21PM UTC by comment:1
component: | unfiled → attributes |
---|---|
resolution: | → notabug |
status: | new → closed |
Refer to http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-, particularly the paragraph starting with "The value property versus attribute on input elements is another example".