这可能是在错误的论坛中,但这里有。 如何在asp页面的用户浏览器窗口中显示警告。 例如,欢迎消息。我知道我可以用response.write, 做到这一点但是我希望有一个向用户显示消息的一般方法。 谢谢很多。
解决方案我打算在帖子中添加这个。我已经尝试过使用这个代码,但没有什么 发生: <% msg ="只是一个测试消息 Response.Write("<"&" script language = VBScript>") Response.Write(" MsgBox" ""& msg&"""<"&" / script>") %> "玛吉" < mp ** @ yahoo.cawrote in message news:ON ************** @ TK2MSFTNGP05.phx.gbl ... 这可能是在错误的论坛中,但是这里有。 如何在asp页面的用户浏览器窗口中显示警报。 例如,欢迎消息。我知道我可以用response.write, 做到这一点但是我希望有一个向用户显示消息的一般方法。 谢谢很多。
" Marge" < mp ** @ yahoo.cawrote: >我打算在帖子中添加这个。我尝试过使用这段代码,但没有发生任何事情: <% msg ="只是测试消息 Response.Write("<"&" script language = VBScript>") Response.Write(" MsgBox""& msg& ;"""<"&" / script>")%
<%msg =" Just测试消息 %> < script type =" text / javascript"> alert("<%= msg%>"); < / script> - Tim Slattery MS MVP(壳牌/用户) Sl********@bls.gov members.cox/slatteryt
Marge在microsoft.public.inetserver.asp.general上写了30 okt 2008: " Marge" < mp ** @ yahoo.cawrote in message news:ON ************** @ TK2MSFTNGP05.phx.gbl ... >这可能是在错误的论坛中,但这里有。 如何在asp的用户浏览器窗口中显示警告页面。 例如,欢迎消息。我知道我可以用 response.write做到这一点,但是我希望有一种向用户显示消息的通用方法。
[请不要使用usenet]
我打算将此添加到这篇文章。我尝试过使用这段代码,但 没有任何反应: <% msg ="只是一个测试消息 Response.Write("<"&" script language = VBScript>") Response.Write(" MsgBox" ""& msg&"""<"&" / script>") %>您的客户端vbscript,如果有效,则仅在IE上。 尝试: message =" Hello world" %> < script type =''text / javascript''> alert (''<%= message%>''); < / script> <% - Evertjan。 荷兰。 (请在我的电子邮件地址中将x'变为点数)
This may be in the wrong forum, but here goes. How can I display an alert in the users browser window from an asp page. For example, a welcome message. I know I can do this with response.write, but I''d like to have a general method of displaying messages to the user. Thanks a lot all.
解决方案 I meant to add this in the post. I''ve tried using this code, but nothing happens: <% msg = "Just a Test Message" Response.Write("<" & "script language=VBScript>") Response.Write("MsgBox """ & msg & """<" & "/script>") %> "Marge" <mp**@yahoo.cawrote in message news:ON**************@TK2MSFTNGP05.phx.gbl... This may be in the wrong forum, but here goes. How can I display an alert in the users browser window from an asp page. For example, a welcome message. I know I can do this with response.write, but I''d like to have a general method of displaying messages to the user. Thanks a lot all."Marge" <mp**@yahoo.cawrote: >I meant to add this in the post. I''ve tried using this code, but nothinghappens:<% msg = "Just a Test Message" Response.Write("<" & "script language=VBScript>") Response.Write("MsgBox """ & msg & """<" & "/script>")%
<%msg="Just a Test Message" %> <script type="text/javascript"> alert("<%=msg%>"); </script> -- Tim Slattery MS MVP(Shell/User) Sl********@bls.gov members.cox/slatteryt
Marge wrote on 30 okt 2008 in microsoft.public.inetserver.asp.general: "Marge" <mp**@yahoo.cawrote in message news:ON**************@TK2MSFTNGP05.phx.gbl... >This may be in the wrong forum, but here goes.How can I display an alert in the users browser window from an asppage.For example, a welcome message. I know I can do this withresponse.write, but I''d like to have a general method of displayingmessages to the user.
[Please do not toppost on usenet]
I meant to add this in the post. I''ve tried using this code, but nothing happens: <% msg = "Just a Test Message" Response.Write("<" & "script language=VBScript>") Response.Write("MsgBox """ & msg & """<" & "/script>") %>Your clientside vbscript, if it works, then only on IE. Try: message = "Hello world" %> <script type=''text/javascript''> alert(''<% = message %>''); </script> <% -- Evertjan. The Netherlands. (Please change the x''es to dots in my emailaddress)
更多推荐
向用户显示警报或消息。
发布评论