p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   Default Button for ASP page (http://p2p.wrox.com/showthread.php?t=568)

mudar June 14th, 2003 08:47 AM

Default Button for ASP page
Hi, I have two questions please:

1) How can I set a default button in a web page?

2) How can confirm deleting records by displaying a message before processing?

Thank you in Advance


Moharo June 21st, 2003 07:40 AM

i don't know what you mean by a default button...
you can use confirm message box as follows:

<script language="JavaScript">

var myconfirm = confirm("Do you really want to delete records");

if(myconfirm) { //user agreed to delete the records
    //code for deleteing


the genuine genius

All times are GMT -4. The time now is 10:25 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.