confirm box styling

I want to style the confirm box generated by JavaScript. I want the background color of the box to be green and replace ok/cancel with yes/no. Do you know how to do this ?



You can't style a confirm(); alert -- this is generic to the browser. Instead, look into alternatives such as boxy for jQuery:

boxy for jQuery -- asking a question

Of course, you can style this in CSS until your heart melts. ;-)


You can also use the jQuery dialog box. Check this out jQuery Dialog


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.