Ext提交验证提示
来源:互联网 发布:数据库系统是以为中心 编辑:程序博客网 时间:2024/05/05 07:22
Ext.onReady(function() {
var reg = new Ext.Window({
applyTo: 'content',
width: 500,
height: 300,
modal: true,
closable: false,
resizable: false,
title: '注册',
layout: 'border',
items: [{
region: 'center',
xtype: 'form',
id: 'reg_form',
labelAlign: 'top',
bodyStyle: 'padding:10px',
buttons: [{
xtype: 'button',
id: 'register_button',
text: '注册',
handler: function() {
if (Ext.getCmp('user_name').getValue() == "") {
Ext.getCmp('user_name').el.frame("ff0000", 2, { duration: 0.5 });
}
}
}],
items: [{
xtype: 'textfield',
fieldLabel: '用户名',
name: 'user_name',
id: 'user_name',
anchor: '99%'
}, {
xtype: 'textfield',
fieldLabel: '密码',
inputType: 'password',
id: 'password1',
name: 'password1',
anchor: '99%'
}, {
xtype: 'textfield',
fieldLabel: '重复密码',
inputType: 'password',
id: 'password2',
name: 'password2',
anchor: '99%'
}
, {
xtype: 'textfield',
fieldLabel: 'Email',
name: 'user_email',
anchor: '99%'
}
]
}, {
region: 'west',
width: 200,
xtype: 'form',
bodyStyle: 'padding:10px',
buttons: [{
xtype: 'button',
text: '登录',
handler: function() {
}
}],
items: [{
border: false,
id: 'register_message',
html: '注册说明'
}]
}]
});
reg.show();
});
- Ext提交验证提示
- ext表单验证问题---验证是否可以提交
- .net model验证 提交提示出错
- Ext.TextField自定义验证函数以及提示文字
- EXT验证
- Ext 验证
- 微信公众号提交开发者提示token验证失败
- 微信小程序表单验证form提交错误提示
- js表单提交验证-input下显示提示信息
- 提交提示
- 提交表单报400错误,提示 “您提交的数据无法验证”
- EXT Ajax提交
- ext的form提交
- Ext数据提交
- Ext ajax提交
- EXT form 提交保存
- Ext 表单异步提交
- Ext 表单提交示例
- Intent的几种用法
- 舆情监控系统
- /LGC图形渲染/PXA300平台2D图形加速器性能测试与分析
- 解决struts2 acton redirect 后不能刷新的问题 另:实现页面框架局部刷新的方法
- 邮箱
- Ext提交验证提示
- 关于classpath和当前类的绝对路径的一些方法
- /LGC图形渲染/Pure GPU Computing Platform : NVIDIA CUDA Tutorial
- 如何使用java中Date类和Calendar类
- python中的时间
- /LGC图形渲染/3D 图形渲染引擎 OGRE 体系结构
- /LGC图形渲染/Develop Linux Keyboard Driver
- [院赛]A number game
- LINQ学习笔记:XML命名空间