MsgBox

Results 1 to 2 of 2

Thread: MsgBox

  1. #1
    Joe C Guest

    Default MsgBox

    Getting a "Permission denied: &#039MsgBox&#039" message when I attempt to call the MsgBox function. Why would this happen?

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: MsgBox

    You are probably trying to do this from ASP (server-side scripting). You can&#039t display anything on the client&#039s side using server-side scripting. ALL ASP is parsed COMPLETELY BEFORE the user gets the HTML. You can, however, use client-side scripting:<BR><BR>&#060;SCRIPT LANGUAGE=VBScript><BR>MsgBox("Hello!")<BR>&#060;/SCRIPT><BR><BR>Of course this won&#039t work in Netscape, since Netscape doesn&#039t support VBScript. You can use JavaScript&#039s alert or confirm methods to do similar things that work in both browsers.<BR><BR>Happy Programming!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •