需求是默认第一个是选中状态,点第二个选中,第一个取消然后点支付时,跳转新页面
$(function(){
$(".nl_zhifutj a").click(function(){
var val=$('input:radio[name="zf"]:checked').val();
if(val=='wx'){
//window.location='index1.html';
}else{
window.location='zfbtxy.html';
}
})
})
需求是默认第一个是选中状态,点第二个选中,第一个取消然后点支付时,跳转新页面
$(function(){
$(".nl_zhifutj a").click(function(){
var val=$('input:radio[name="zf"]:checked').val();
if(val=='wx'){
//window.location='index1.html';
}else{
window.location='zfbtxy.html';
}
})
})
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。