This error message appears as a JavaScript alert box & not exactly an optimal user experience. 这个错误消息以JavaScript警告框的形式出现,这绝对不是很好的用户体验。
If the server validator returns false, an error message is displayed using a JavaScript alert or DHTML depending on the mode specified in the displaymode attribute ( javascript or html ). 如果此服务器验证器返回false,就会根据displaymode属性内指定的模式(javascript或html)使用JavaScript警告或DHTML显示一个错误消息。
The location element is referenced as a parameter to the JavaScript alert () function. location元素作为JavaScriptalert()函数的参数引用。
In some browsers, a JavaScript alert can look just like the HTTP authentication password window & not a good thing at all. 在一些浏览器中,可能出现像HTTP身份验证密码窗口一样的JavaScript警告框,这可不是好现象。
If there was a problem ( and request is false ), use a JavaScript alert to tell users there was a problem. 如果出现问题(request是false)则使用JavaScript警告通知用户出现了问题。