jquery中的自定义警报和确认框 [英] Custom alert and confirm box in jquery
本文介绍了jquery中的自定义警报和确认框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
jquery $ c $中是否有
警告
和确认
对话框c>其中包含自定义标题和自定义内容。我搜索了很多网站但找不到合适的网站。任何网站链接或任何内容都是可观的。
Are there any alert
and confirm
dialog available in jquery
with custom title and custom content in it. I have search many sites but can not find appropriate. Any site link or any content are appreciable.
推荐答案
我使用 jquery UI $制作自定义消息框c $ c>组件。这是演示 http://jsfiddle.net/eraj2587/Pm5Fr/14/
I made custom messagebox using jquery UI
component. Here is demo http://jsfiddle.net/eraj2587/Pm5Fr/14/
您必须只传递标题名称,消息,按钮文本等参数。您可以在任何按钮单击上指定触发器功能。这对你有帮助。
You have to pass just the parameters like caption name, message, button's text. You can specify trigger function on any button click. This will helpful for you.
这篇关于jquery中的自定义警报和确认框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文