开发者

confirm box styling

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜