<input|checkbox>.val(array-of-values) does not update checked attribute properly if array-of-values are numbers
Inside val(), value has been turned into a string if it is a number, but the same check and cast are not performed in the jQuery.InArray(this.value, value) when array[i] is === compared to value.
Change History (5)
Owner: |
set to snover
|
Status: |
new →
assigned
|
Component: |
unfiled →
attributes
|
need: |
Review →
Patch
|
Priority: |
undecided →
low
|
need: |
Patch →
Commit
|
Owner: |
changed from snover to john
|
Status: |
assigned →
new
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
I have a patch for this, working on unit tests.