Msgbox "This is my message!", vbcritical,"Message Box"
Bryan MArtin
Sp...@ahwayside.com
"Damian" <dr...@mad.scientist.com> wrote in message
news:OvFVnNyCBHA.1708@tkmsftngp07...
: Is there a way to do a message box or alert box using VBScript in ASP or
:
:
The VBScript analog of the JavaScriptp alert() is MsgBox. Eg:
<script language="VBScript">
MsgBox "Hello, world"
</script>
That said, your reference to ASP makes the whole thing suspect: one
generally doesn't display dialogs on the ASP side of things. Also, since
only IE supports VBScript on the client-side, JavaScript is a more portable
bet.
--A
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
So you can use it from client side VBScript as:
alert "hello world"
window.alert "hello world"
call alert("hello world")
call window.alert("hello world")
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Damian" <dr...@mad.scientist.com> wrote in message news:OvFVnNyCBHA.1708@tkmsftngp07...