please assist, I have the following code and wish to change the default OK and Cancel buttons to Yes and No buttons.
How is this possible, I am sure there was a way with additional arguments within the brackets but cant seem to find it anywhere.
Code:
<script type='text/javascript'>
if (window.confirm('Username or Password INCORRECT! Do you want to Register?'))
window.location.href='register.php';
else
window.location.href='index.php';
</script>