Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.Net & Javascript !
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
ASP.Net & Javascript !
Environment versions
Environment:
ASP.NET
OS:
Windows XP
Miscellaneous
Thread ID:
00970365
Message ID:
00970365
Views:
51
Hi All,

I am trying to display a conformation popup window when clicking the delete button by calling the follow:
sMsgBox = "Sure to Delete the Record?"
sScript = "<script> window.confirm('" & sMsgBox & "')</script>"
Page.RegisterStartupScript("PopupScript", sScript)
But how I can read the reply from the popup window as "ok" or "cancel" clicked?

Thanks in advance.
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>
Reply
Map
View

Click here to load this message in the networking platform