Skip to main content

Bug Tracker

Side navigation

#13558 closed bug (cantfix)

Opened March 03, 2013 05:35PM UTC

Closed March 04, 2013 02:34AM UTC

jQuery 1.9.1 prop() in IE8

Reported by: epicsign@naver.com 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>

:(

Attachments (0)
Change History (2)

Changed March 03, 2013 06:01PM UTC by anonymous comment:1

also IE6, IE7, IE8, IE9(maybe)

Changed March 04, 2013 02:34AM UTC by timmywil comment:2

resolution: → cantfix
status: newclosed

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.