I want to create a confirmation field generated by JavaScript. I want the background color of the field to be green and replace ok/cancelwith yes/no. Do you know how to do this?
ok/cancel
yes/no
You cannot create an alert confirm();- this is common for the browser. Instead, consider alternatives such as boxy for jQuery: http://onehackoranother.com/projects/jquery/boxy/
confirm();
Of course, you can style this in CSS until your heart melts .; -)
You can also use the jQuery dialog box. Check out this jQuery Dialog