jquery select 点击 确认 提示 确定 弹窗 对话框 跳转 confirm
<select name="select2" class="email_notice"> <option value="">指派给</option> <option value="6@qq.com">少威廉</option> </select> <script> $(document).ready(function(){ $('.email_notice option').click(function(){ if(confirm('确定继续?')) { alert('确定');
window.location.href="login.jsp";
}else{ return false; } }) }); </script>
confirm
<input class="form-control" type="submit" name='' onclick="return confirm('确定核对无误,已截图存证?')"> <a href="/ychadmin/borrow/sign_all/" onclick="return confirm('确定?')">生成合同</a>