jquery/jquery-mobile — Issue #3506: Radio button selection missing from POST data when form submitted.
Author: nathan-osman
Created: 2012-01-30 19:55:00+00:00
State: open

Using the latest build of jQuery Mobile (746c24ed79cfa80e1c57a71d8f0c65eb18e0dfef), I constructed the following test page: http://files.quickmediasolutions.com/temp/jquery_mobile_bug.php

The page is quite simple - a form with four radio buttons. The HTML for the radio buttons was taken directly from an example in the jQuery Mobile documentation. The 'action' for the form is another page I have constructed that dumps all POST variables it receives. If you select the first item and submit the form, the data is submitted as expected. However, if you select one of the other options, the selection is not included when the form is POSTed.

If I switch to jQuery Mobile 1.0.1, my code works as expected and all radio button values work correctly. To make it a little easier to see what's going on, I have a diff of the HTML generated by 1.0.1 and the latest build: http://diffchecker.com/3B9hG9a

I didn't notice anything interesting in the diff, but perhaps it will help pinpoint the problem.