Msgbox with ASP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean Marie VIGNEAUD

    Msgbox with ASP

    Hello,

    I would like to know if there is a Msgbox command on ASP langage which has
    the same fonctionality of the msgbox command with Access 97.

    Thanks for your help,

    Regards,

    Jean Marie.



  • Bob Barrows [MVP]

    #2
    Re: Msgbox with ASP

    Jean Marie VIGNEAUD wrote:[color=blue]
    > Hello,
    >
    > I would like to know if there is a Msgbox command on ASP langage
    > which has the same fonctionality of the msgbox command with Access 97.
    >[/color]

    1. There is no such thing as "ASP Language". ASP is a technology which
    allows the use of several scripting languages, including vbscript and
    javascript
    2. vbscript does have a MsgBox method (javascript has alert), but it is not
    something you would want to use in server-side code (you may not even be
    allowed to use it), given that there is unlikely to be anyone sitting at the
    server's keyboard to close the message box. Of course, there is no reason
    you can't use it in client-side code, but that is a topic for a client-side
    newsgroup such as one of the .scripting newsgroups, or one of the newsgroups
    with "dhtml" in their names.

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Comment

    • Jeff Cochran

      #3
      Re: Msgbox with ASP

      On Mon, 18 Oct 2004 16:22:24 +0200, "Jean Marie VIGNEAUD"
      <jm.vigneaud@gi ronde.chambagri .fr> wrote:
      [color=blue]
      >I would like to know if there is a Msgbox command on ASP langage which has
      >the same fonctionality of the msgbox command with Access 97.[/color]

      If you're looking to pop open a MsgBox on the client, there's no
      function in ASP for that. You can use client-side VBScript to do
      this, and you could do something similar with JavaScript or even just
      a new IE window, but these aren't ASP they rely on the client side of
      the application. Try a client-side scripting group for help on this.

      Jeff

      Comment

      Working...