confirm method in javascript

  • Thread starter Thread starter Jenet
  • Start date Start date
J

Jenet

Is there a way to set the default option to 'Cancel' rather than 'Ok' in
Javascript confirm method?

cmdDelete.Attributes.Add("onClick", "javascript:return confirm('Are You Sure
You Wish To Delete This Item ?');")

Thanks.
 
Back
Top