jquery widgets 弹框
jQuery 弹框
2023-09-11 14:20:28 时间
<div id='dialog' style="display:none;"> <div style="text-align:center;"> <h3 style="color: red; padding: 8px; margin-top: -12px;">请确认是否重置假日信息</h3> <input style="margin-top:5px;width:80px;" id="yzm" /> 验证码:<span id="jsYzm"></span> <br /><br /> <button id="btnEnter" style="cursor:pointer" class="btn btn-default">确定</button> <button id="btnCancel" style="cursor:pointer" class="btn btn-default">取消</button> </div> </div>
js
jqxWindow("#dialog", " ", 360, "auto");
function jqxWindow(selector, title, width, height, icon) { $(selector).show(); $(selector).removeClass("hide"); if ($(selector).find(".jqx-window-content").size() > 0) { $(selector).jqxWindow("open"); } else { $(selector).jqxWindow({ width: width, height: height, isModal: true, modalOpacity: 0.3, resizable: false, maxWidth: 1300 }); } if (icon != null) { title = "<i class=\"" + icon + "\" style=\"color: #F2B863;font-size: 20px; margin-right: 8px; \"></i>" + title; } $(selector).jqxWindow('setTitle', title); $(selector).on('close', function (event) { jqxValidateRemove(); }); $(selector).on('moving', function (event) { jqxValidateRemove(); }); $.position.center(selector); }
相关文章
- jQuery验证控件jquery.validate.js使用说明+中文API
- What does the dot after dollar sign mean in jQuery when declaring variables?
- jquery中 $ 和 jQuery 及 $() 的区别
- jquery input选择弹框
- PHP / JavaScript / jQuery 表单验证与处理总结: 第①部分 PHP 表单验证与处理
- 《众妙之门——JavaScript与jQuery技术精粹》——2.2 在哪里可以使代码得到复查?
- 《扩展 jQuery》——2.2 一个简单的插件
- jQuery验证控件jquery.validate.js的使用介绍
- JavaScript或jQuery模拟点击超链接和按钮
- jquery easyui easyui-treegrid 使用异步加载数据
- jquery给span赋值
- Nice Jquery Validator 【从 jQuery Validation 迁移】
- ThinkPHP---拓展之jQuery的ajax
- jquery validate remote的用法
- 低级问题: jquery-ajax-alert(data) <!DOCTYPE html PUBLIC "-