echo "<script LANGUAGE=JavaScript>window.confirm('$String');</script>";
这个window.confirm()怎么知道 用户取的是yes or no呢??
------------------------------------------------------------------------------*** 这个问题GOOGLE或MSDN都能解决 ***confirm Method--------------------------------------------------------------------------------Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.SyntaxbConfirmed = window.confirm( [sMessage])
ParameterssMessage Optional. String that specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message. Return ValueBoolean. Returns one of the following possible values:true The user clicked the OK button.
false The user clicked Cancel button. ResThe title bar of the confirmation dialog box cannot be changed.Standards InformationThere is no public standard that applies to this method.
这个window.confirm()怎么知道 用户取的是yes or no呢??
------------------------------------------------------------------------------*** 这个问题GOOGLE或MSDN都能解决 ***confirm Method--------------------------------------------------------------------------------Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.SyntaxbConfirmed = window.confirm( [sMessage])
ParameterssMessage Optional. String that specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message. Return ValueBoolean. Returns one of the following possible values:true The user clicked the OK button.
false The user clicked Cancel button. ResThe title bar of the confirmation dialog box cannot be changed.Standards InformationThere is no public standard that applies to this method.
解决方案 »
- php二维数组按某个值数量多的排序
- 验证码安全问题不知道怎么加入session
- iconv 不能转换特殊字符的问题
- 关于二级域名外文件夹写权限
- PHP图片显示问题,很简单,帮解决一下
- #1062 - Duplicate entry 'r40-ibm-1-2' for key 2
- 【课题】PHP + 浏览器 开发本地应用的可行性
- 老问题 请教 win2000下 mssql 的连接问题
- 关于PHP Excel Parser的问题
- php
- PHP 在 Linux 服务器上,现实导出多表单的 Excel。有做过的前辈,大侠,英雄,长老,都来帮帮忙。
- ap 是linux+apache+PHP,db是:windows+mysql,怎么配置链接mysql?
alert("you click OK");
}
else{
alert("you click Cancel");
}