<script type="text/javascript"> $(function () { $("#subform").click(function(){ $('.ao').each(function(){ var objao = $(this).children().children('input'); //声明对象 var objtp = objao.attr('type'); //对象类型 var stt = false; //radio 类型 objao.each(function(){ if($(this).attr('checked')){ stt = true; } }) if(!stt){ alert('请输入全部'); return false; }else{ window.location.href="http://www.dayanmei.com/"; return true; } }) return true; }) })</script>
1 回答
- 1 回答
- 1 关注
- 1225 浏览
添加回答
举报
0/150
提交
取消