Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#14171 closed bug (notabug)

.val(var) does not trigger .change

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


I don't know if this is intentional or a bug. Just thought I would let you know about this. The .change event does not trigger when .val(var) is used on the same id.

For demo http://jsfiddle.net/khadkara/777Zs/1/

Change History (2)

comment:1 Changed 9 years ago by scottgonzalez

Resolution: notabug
Status: newclosed

This is how the DOM works. You'd get the exact same behavior if you set the value directly without using jQuery.

In the future, if you're not sure if something is a bug, you should ask on the forums or IRC first.

comment:2 Changed 9 years ago by timmywil

#14172 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.