Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8344 closed bug (invalid)

.val(value) on an HTML select element will not fire any attached change events.

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

didn't test in 1.5 version.

see: http://api.jquery.com/val/#dsq-comment-117202237

Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

It's not supposed to fire when you change the field in code. Here's a non-jQuery version to show how it works:

http://jsfiddle.net/P5h6P/

If you want change to fire, change the field and fire it manually.

Note: See TracTickets for help on using tickets.