发表于: sitebuild | 作者: | 日期: 2009/6/13 12:06
标签:

有时在提交表单的时候需要对该提交动作再一次确认,此时可以使用confim确认提示对话框,示例如下:

function toConfirm(){
if(confirm(“是否确认打开网页?”)){
location=’http://www.darkmi.com’;
}
}

: https://blog.darkmi.com/2009/06/13/868.html

本文相关评论 - 1条评论都没有呢
Post a comment now » 本文目前不可评论

No comments yet.

Sorry, the comment form is closed at this time.