View Single Post
  #2 (permalink)  
Old June 21st, 2003, 07:40 AM
Moharo Moharo is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , USA.
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Moharo

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
Reply With Quote