Jquery移动无线电按钮没有响应

时间:2013-11-09 16:17:01

标签: jquery-mobile jquery-mobile-button

我有一个简单的控制组用于单选按钮输入,如下所示:

<div data-role="dialog" id="addUser" data-title="Add New User">
<div data-role="header" data-theme="b">
<h1>Add New User</h1>
</div>        
<div data-role="content">            
<div id="addNewUserErrMsg"></div>
<form name="addNewUserForm" action="addnewuser.php">
<label for="nuEmail">Email Address</label>
<input type=text id="nuEmail" name="Email" autofocus="autofocus">
<fieldset data-role=controlgroup data-mini=true>
    <input type=radio id="1" value=1 name=radio1>
    <label for="1">1</label>
    <input type=radio id="2" value=2 name=radio1>
    <label for="2">2</label>
    <input type=radio id="3" value=3 name=radio1>
    <label for="3">3</label>
</fieldset>
<label for="firstName">First Name</label>
<input type=text id="nuFirstName" name="firstName">
<label for="nuLastName">Last Name</label>
<input type=text id="nuLastName" name="lastName">
<label for="nuPassword">Password</label>
<input type=password id="nuPassword" name="password">
<label for="nuRePassword">ReEnter Password</label>
<input type=password id="nuRePassword" name="rePassword">
<label for="nuCell">Cell Phone (for alerts)</label>
<input type=text id="nuCell" name="cell">
<input type="submit" value="Create User" data-inline="true" data-theme="a">&nbsp;&nbsp;<a data-role="button" data-inline="true" data-mini="true" href="#home">Cancel</a>
</form>       
</div><!-- /content -->           
</div><!-- /adduser -->

问题是我无法选择任何按钮。就好像他们都是残疾人一样。它们似乎显示正确(空白后跟文本,所有分组都很好)。

我正在使用jquerymobile 1.4-rc1。我曾尝试使用Chrome和FireFox。

更新:正在选择单选按钮(并且值作为POST请求的一部分传递),但是,屏幕上没有可视指示。只是一个空心圈。 apache错误日志中没有错误。没有firebug显示的错误。

0 个答案:

没有答案