Opened 10 years ago
Closed 10 years ago
#13558 closed bug (cantfix)
jQuery 1.9.1 prop() in IE8
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<textarea required=""></textarea>
$('textarea').prop('required', true); => <textarea required="true"></textarea>
$('textarea').prop('required', false); => <textarea required="false"></textarea>
$('textarea').prop('required', null); => <textarea required="null"></textarea>
:(
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → cantfix |
---|---|
Status: | new → closed |
IE8 treats attributes and properties as the same thing. What you're seeing is an issue with IE8, not jQuery. Also, keep in mind that required is a boolean property with only two valid values: true and false, which is not related to the value of the attribute required
.
Note: See
TracTickets for help on using
tickets.
also IE6, IE7, IE8, IE9(maybe)