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.
if (window.confirm('Username or Password INCORRECT! Do you want to Register?'))
Can't be done. Those buttons come from the OS, not the browser. You can't change them.
But you could, of course, instead create a POPON <div> that has any HTML content you want.
Ok I have noticed that on Google as well.
Now maybe something else then.
I have an extra long message to display but want them on seperate lines like below is that possible? I have tried \n and it does not work.
Username or Password INCORRECT!
Press OK to Register a new user or CANCEL to try again.