function handleErr(msg,url,l)
{
txt=”本页中存在错误。/n/n”
txt+=”错误:” + msg + “/n”
txt+=”URL: ” + url + “/n”
txt+=”行:” + l + “/n/n”
txt+=”点击“确定”继续。/n/n”
alert(txt)
return true
}
function message()
{
adddlert(“Welcome guest!”)
}
// –></mce:script>
</head>
<body>
<input type=”button” value=”查看消息” onclick=”message()” />
</body>
</html>
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/industrynews/13680.html