Control Panel
Forum
Hosting Help
ASP.NET 4 & SQL 2008 R2 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
AdSense revenue sharing sites
|
Exam 70-680 Practice Tests
|
Silverlight games
Total
members
:
210368
Average new registrations per day (in last 7 days):
16
New Registration:
Open
Register Now
Home
»
Resources
»
Adding a confirmation box (Ok/Cancel) to a button using javascript
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
Adding a confirmation box (Ok/Cancel) to a button using javascript
25 Mar, 2008
Author:
Manuel Klaehn
TU Berlin
Summary
The form is only submitted when the user clicks 'OK' in the confirmation dialog.
.NET Classes used :
The javascript code has to be added to an "onclick" event either to an ASP button control (field "onClientClick") or HTML input button:
onclick="return confirm('Do you really want to press this button?')"
Feedbacks about this page from members:
- No Feedbacks yet !! -
Submit Feedback
View All Feedbacks
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.