admin管理员组文章数量:1336585
The alert box/confirm box which we get in javascript are simple popup box. I need to modify the box style. Means to make the text bold, and to make these pop up stylish. How can I achieve that??
The alert box/confirm box which we get in javascript are simple popup box. I need to modify the box style. Means to make the text bold, and to make these pop up stylish. How can I achieve that??
Share Improve this question asked Dec 5, 2012 at 16:52 Ankit BansalAnkit Bansal 2,3589 gold badges53 silver badges82 bronze badges 2- 8 You can't modify the message box that results from the alert() and confirm() calls. You'll need to create your own custom alert box. You can use something like the jQuery UI dialog box: jqueryui./dialog – sbeliv01 Commented Dec 5, 2012 at 16:56
- That ment should be an answer – MalSu Commented Dec 5, 2012 at 16:59
2 Answers
Reset to default 4You can't modify the message box that results from the alert() and confirm() calls. You'll need to create your own custom alert box. You can use something like the jQuery UI dialog box: http://jqueryui./dialog
This is not possible with traditional browse popups. You have to use a javascript/modal popup.
Here's an example:
http://jqueryui./dialog/#modal-confirmation
本文标签: jqueryStylish popup in javascriptStack Overflow
版权声明:本文标题:jquery - Stylish popup in javascript? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742410707a2469729.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论