C# asp.net JQuery: 请问一下,这样写,为什么跳转不到制定路径的界面????求解,急急急!!!
$(document).ready(function(){$("#bt_Add").click(function(){varvalue=$("input[name='rb...
$(document).ready(function () {
$("#bt_Add").click(function () {
var value = $("input[name='rblproceed']:checked").val();
if (value == "1") {
location.href = "11.aspx?action=add";
}
if (value == "2") {
location.href = "WebForm1.aspx?action=add";
}
else {
location.href = "22.aspx?action=add";
}
})
}) 展开
$("#bt_Add").click(function () {
var value = $("input[name='rblproceed']:checked").val();
if (value == "1") {
location.href = "11.aspx?action=add";
}
if (value == "2") {
location.href = "WebForm1.aspx?action=add";
}
else {
location.href = "22.aspx?action=add";
}
})
}) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询