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
}
</script>
the genuine genius
|