remember that ASP is on the server..thus when you attempt to do MSGBOX in
ASP you're instructing the SERVER to show the msgbox window which it cannot
(think if you had a page that poped up MSGBOX's all the time..the server
would be filled with them!!!!).
the code below is CLIENT sided VBSCRIPT. That is, it is executed on the
CLIENT, and you're instructing the CLIENT to do the popup box. This is
allowed on the client. Try your same script in netscape. Unless you have
the VBScript plugin for netscape it wont work. That is why most client
sided scrpting is done in Javascrpt (alert() is the same as msgbox())
-> -----Original Message-----
-> From: yls [mailto:yls177@h...]
-> Sent: Wednesday, September 20, 2000 8:02 AM
-> To: Code Clinic
-> Subject: [proasp_codeclinic] msgbox
-> Hi, i cant display a msgbox in regards to asp.. but when i do this
-> sub command_onclick
-> msgbox "got it"
-> end sub
-> why this works???