![]() |
window.confirm
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'> |
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. |
\n is only for JavaScript. If you're using HTML, you need <br />.
|
| All times are GMT +1. The time now is 02:45 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.