posted 19 years ago
I am assuming you want to use the confirm....
You can not change the buttons on it, you have to deal with ok and cancel. If you do not want this, why don't you just redrect them to a page that has a form with yes and no buttons?
To use the cofirm, all you would need to do is this for a link
<a href="yourLink.html" onclick="return confirm('Are you sure')">Log out</a>
Eric