Side navigation
#11941 closed bug (worksforme)
Opened June 20, 2012 02:47PM UTC
Closed June 23, 2012 01:29PM UTC
on IE9, the checkbox value return 'on
Reported by: | migoo | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
on IE9, the checkbox value return 'on' if you try to access it through jQuery
jsFiddle demo here: http://jsfiddle.net/VWkSL/
But it works in the fiddle :-(, but in rails it breaks the formulae in IE9, because 'on' is send.
http://stackoverflow.com/questions/8720934/jquery-ie9-checkbox-form-serialize-returns-on
Tested on IE9, Windows7
Works fine in Chrome, Safari And Firefox (osX)
Thanks for watching
We found why it doesn't work.
We build the Dom using jQuery and we pass the value in the hash parameter (see jsFiddle).
But passing the value through jQuery('#id').val('aValue') fix the issue