开发者

confirm box styling

开发者 https://www.devze.com 2023-02-20 19:35 出处:网络
I want to style the 开发者_如何学Goconfirm 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 sty

I want to style the 开发者_如何学Goconfirm 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: http://onehackoranother.com/projects/jquery/boxy/

confirm box styling

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

0

精彩评论

暂无评论...
验证码 换一张
取 消