Here's some server side code that outputs javascript that will do the trick:
myDeleteButton.Attributes.Add("onclick", _
"return confirm('Are you sure you want to delete?');")
Or if you insist on VBScript you could use the Msgbox Function.
If the return value is vbOK (1) then document.Form1.submit()
--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Joe C." <no****@nospam.com> wrote in message
news:OB**************@TK2MSFTNGP12.phx.gbl...
Sorry for my ignorance. Currently all I have is a Button_OnClick sub. I am
prompting the users if the want to proceed. If yes then the form is
submitted otherwise if no.
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Return false from your vbscript function
--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Joe C." <no****@nospam.com> wrote in message
news:Ox**************@tk2msftngp13.phx.gbl... Is there a way to cancel the submit process from the client using
vbscript?