jquery easyUI提示框的使用
来源:互联网 发布:excel A列所有数据 编辑:程序博客网 时间:2024/05/24 05:11
1:弹出提示窗的使用
(1)屏幕右下弹出提示窗口:
$.messager.show({
title:'My Title',
msg:'Message will be closed after 4 seconds.',
timeout:4000,(可选)
height:150, (可选)
width:350,(可选)
showType:'show'
});
timeout:number,(定期关闭)
showType:String(弹出的窗口的方式:show,slide,fade)
});
(2)进度条:
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
setTimeout(function(){
$.messager.progress('close');
},mix);
mix:可以为数字(毫秒)或者为返回数字的函数;获取或者设置进度条的方法为:
var value = $('#p').progressbar('getValue');
if (value < 100){
value += Math.floor(Math.random() * 10);
$('#p').progressbar('setValue', value);
}
(3)普通弹出框:
$.messager.alert(title,msg,type);
type:可以省略,取值为:error,info,question,warning.
(4)确认弹出框:
$.messager.confirm('My Title', 'Are you confirm this?', function(r){
if (r){
alert('confirmed:'+r);
location.href = 'http://www.google.com';
}
});
(5)输入弹出框:
$.messager.prompt('My Title', 'Please type something', function(r){
if (r){
alert('you type:'+r);
}
});
- jquery easyUI提示框的使用
- EasyUI Messager提示框的使用
- jquery-easyui的使用
- jquery easyui的使用
- jQuery EasyUI的使用
- jQuery EasyUI的使用
- jquery easyui 验证框的使用
- jquery easyui 验证框的使用
- jQuery EasyUI 提示框(Messager)用法
- jQuery EasyUI 提示框(Messager)用法
- jquery easyui datebox 的使用
- jquery easyui datebox 的使用 .
- jquery easyui datebox 的使用 .
- jquery easyui Accordion的使用
- jquery easyui datebox 的使用
- jquery easyui datebox 的使用
- jquery easyui datebox 的使用
- Jquery easyui tree的使用
- HDU 3473 Minimum Sum
- Hibernate 二级缓存
- Android 对布局进行任意角度旋转
- 断点续传的原理和实现
- HDU 1606(POJ 1598 UVA 409) Excuses, Excuses!(字符串匹配处理)
- jquery easyUI提示框的使用
- 2014年度辛星完全解读html第二节
- c++ 封装luatinker
- OpenCV学习笔记16 OpenCV图像处理模块ImgProc Module. Image Processing(九)
- POJ 1177 Picture
- sdfgsdfgdsfg
- poj 1789 Truck History(图论:最小生成树)
- hdu 1021 斐波那契数列取模(循环节)
- 检查表的HWM Script