Bug Tracker

Opened 10 years ago

Closed 10 years ago

#11941 closed bug (worksforme)

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 http://stackoverflow.com/questions/4069598/jquery-checkbox-list-problem-in-ie-values-saved-as-on-on-on-should-be-10-12-13

Tested on IE9, Windows7 Works fine in Chrome, Safari And Firefox (osX)

Thanks for watching

Change History (2)

comment:1 Changed 10 years ago by migoo

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

comment:2 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.