Side navigation
#14171 closed bug (notabug)
Opened July 23, 2013 04:43PM UTC
Closed July 23, 2013 04:44PM UTC
Last modified July 23, 2013 04:47PM UTC
.val(var) does not trigger .change
Reported by: | rabindra46@gmail.com | 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.
For demo
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.