js提交前弹出提示框
2024-10-18 21:25:14
<form target="_blank" name="f1" method="post" action="sub2.php"> <img style="cursor:pointer;" onClick="b1_onclick()" src="../images/b1.jpg" width="140" height="74"> </form> <script LANGUAGE="javascript">
<!--
function b1_onclick(){
if(confirm("你确定提交?")){
document.f1.submit();
return true;
}else{
return false;
}
}
//-->
</script>
最新文章
- toroiseSVN 无法连接服务器,提示unable connect to ……url 参数错误
- swift变量和函数
- Retina时代的前端视觉优化
- leetcode105:Construct Binary Tree from Preorder and Inorder Traversal
- hadoop pipes wordcount compile
- requireJs和r.js压缩工具
- 使用OmniGraffle制作原型图
- PHP和.NET通用的加密解密函数类,均使用3DES加解密 .
- ASP.NET MVC- 解决HTML转码
- oc学习笔记2
- 使用 Python 实现命令行词典(一)
- Problem B: 时间和日期类(III)
- pyhon----模块
- Qt5.3.2_CentOS6.4_基本编程环境__20160306【勿删,繁琐】
- OC Copy和内存管理
- Doing Homework again:贪心+结构体sort
- 【直播预告】云栖直播:阿里热修复产品HotFix2.0升级详解
- svn命令使用常见问题
- bzoj2865 字符串识别
- 判断php变量是否定义,是否为空,是否为真的一览表