她陷入困境...... 我在名为Assigned to Me的导航div中创建了一个菜单列表项。单击此按钮时,将显示一个可拖动的div,但其中将包含表单值以选择不同的选项。但是这种形式不允许我在我创建的两个单选按钮之间进行选择。它只选择1并且之后不会工作。我不确定这是否与可拖动元素有关,但当我关闭拖动它似乎工作。有什么想法吗?
<div class="secondary_nav">
<ul>
<li> <a href="">ASSIGNED TO ME</a>
<ul>
<div class="navpopup_1">
<div class="np1_left"><b>Course Lookup*</b></div>
<div class="np1_left"></div>
</div>
</ul>
</li>
<li class="popup"> <a href="#">COURSES AND OFFERINGS</a>
<div class="navpopup_2">
<div class="np2_left"><b>Course Lookup*</b></div>
<div class="np2_right">
<table width="200">
<tr>
<td><input type="radio" name="RadioGroup1" value="radio" id="form1">
Find course </td>
<td><input type="radio" name="RadioGroup1" value="radio2" id="form2">
Find course </td>
</tr>
</table>
<button type="button" class="">Continue</button>
<a href="#" class="np_close">Close</a> </div>
</div>
</li>
<li> <a href="">SEARCH</a>
<ul>
<li>New Search</li>
<li>Recent Search</li>
<li>My Searches</li>
</ul>
</li>
<li> <a href="" class="last">ADMIN</a>
<ul>
<li>User Admin</li>
<li>Course Admin</li>
<li>Curriculum Admin</li>
<li>University Admin</li>
<li>External Validations</li>
</ul>
</li>
</ul>
<script>
$(function() {
$( ".navpopup_2" ).draggable();
});
$("li.popup").click(function () {
$(".navpopup_2").css("display","block");
return false;
});
$(".np_close").click(function () {
$("li.popup>div").css("display","none");
return false;
});
</script>