我只是发现jquery-mobile,但我发现文档不适合“初学者”。如何使用事件?
所以,我有一些单选按钮的fieldset。当用户“检查”一个按钮时,如何做到将值保存在带有ajax调用的php会话中?
<fieldset data-role="controlgroup">
<legend>Choose a pet:</legend>
<input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
<label for="radio-choice-1">Cat</label>
<input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" />
<label for="radio-choice-2">Dog</label>
<input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
<label for="radio-choice-3">Hamster</label>
<input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
<label for="radio-choice-4">Lizard</label>
</fieldset>
非常感谢,我采取这种方式 – bahamut100 2012-02-16 17:06:23
您对jQuery Mob的意见ile帮助,而且真是一招。谢谢。 – Sameer 2013-09-01 19:26:20