DW编写服务器脚本中,出现警告警告框的代码

来源:百度知道 编辑:UC知道 时间:2024/06/03 07:24:16
DW编写服务器脚本中,出现警告警告框的代码,类似mesbox的 代码多少,

JS可以放在任务地方

<script type="text/JavaScript">
<!--
var smg="你好!"
function MM_popupMsg(msg) { //v1.0
alert(smg);
}
//-->
</script>

这要放在BODY里面

<form id="form1" name="form1" method="post" action="">
<input name="Submit" type="submit" onclick="MM_popupMsg()" value="提交" />
</form>

mesbox变成msgbox就可以了