View Full Version : Vbscript msgbox

04-17-2006, 10:46 PM

I have a question.

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


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.


04-17-2006, 11:24 PM
I don't believe you can't, as far as I know its stuck that way as a security feature.

04-18-2006, 03:14 PM
Use a javascript confirm instead of vbscript.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum