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.
解决方案 »
- xajax对象问题
- 开发php时您曾遇到的最大难题是什么
- 如何判断最后一个字符是 - ,然后把最后的 - 过滤掉
- 被MySQL Client API version 搞糊涂了,谁能帮吗指点?
- 在线等,急50分,马上给!
- 没有滚动条照样能滚动,如何解决?
- 在win平台的服务器下如何用php实现自动发信?
- 急,如何让php编写的聊天室不刷屏而能刷新聊天信息?
- 请问有谁在WIN2000 SERVER下安装过MY SQL
- 自学PHP不知道从哪里下手
- PHP 在 Linux 服务器上,现实导出多表单的 Excel。有做过的前辈,大侠,英雄,长老,都来帮帮忙。
- ap 是linux+apache+PHP,db是:windows+mysql,怎么配置链接mysql?
alert("you click OK");
}
else{
alert("you click Cancel");
}