#14171 closed bug (notabug)
.val(var) does not trigger .change
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Note: See
TracTickets for help on using
tickets.
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.