Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Vbscript msgbox

  1. #1
    New to the CF scene
    Join Date
    Apr 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Vbscript msgbox

    Hi,

    I have a question.

    <script type="text/vbscript">
    Function approve_OnClick()
    MsgBox "Are you sure?", 32+3, "Asking"
    End Function

    </script>

    I used the above script in the ASP file.

    It works, but the title is shown "VBScript: Asking" of the popup message.

    How can I remove the "VBScript:"? I just want to display "Asking" as the title.

    Thanks.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    I don't believe you can't, as far as I know its stuck that way as a security feature.
    OracleGuy

  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use a javascript confirm instead of vbscript.


  •  

    Posting Permissions

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