在 ASP 中显示消息框 [英] Display MessageBox in ASP

查看:12
本文介绍了在 ASP 中显示消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编码新手,从 ASP 开始.如何创建一个简单的消息框,以便在网页上提醒用户?

I am new to code and starting with ASP. How do I create a simple message box so I can alert the users on the web page?

推荐答案

这是一种方法:

    <%
       Dim message    
       message = "This is my message"
       Response.Write("<script language=VBScript>MsgBox """ + message + """</script>") 
    %>

这篇关于在 ASP 中显示消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆