Skip to main content

Bug Tracker

Side navigation

#13612 closed bug (duplicate)

Opened March 15, 2013 10:55AM UTC

Closed March 18, 2013 04:15PM UTC

$("select").val() throws a warning

Reported by: dethrall@outlook.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

the .val() Method gives me a warning in the console, if i try to get the value of a select element. no matter through which selector. the problem only appears in firefox 19.0.2. I am not sure but the problem wasn't there on 19.0. IE9 and Chrome are not affected.

Warning:

"Das angegebene Attribut auf Attributen sollte nicht mehr verwendet werden. Es liefert immer true."

return !val || val.specified ? elem.value : elem.text;

jquery-1.9.1.js (Zeile 2270)

Browser: Firefox 19.0.2 on Win 7

Fiddle: http://jsfiddle.net/4EuGZ/3/

Attachments (0)
Change History (2)

Changed March 15, 2013 01:17PM UTC by iklotzko comment:1

_comment0: This looks like a duplicate of ticket:11397 (See See comment:12:ticket:11397) which is a duplicate of ticket:12072. 1363353525358569

This looks like a duplicate of ticket:11397 (Please see comment:12:ticket:11397) which is a duplicate of ticket:12072.

Changed March 18, 2013 04:15PM UTC by timmywil comment:2

resolution: → duplicate
status: newclosed

Duplicate of #12072.This will be fixed in 1.10.