?? form_update.js
字號:
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext.onReady(function(){
Ext.QuickTips.init();
//Ext.MessageBox.alert("Warning", "This example is not done and results may vary.");
// Change field to default to validation message "under" instead of tooltips
Ext.form.Field.prototype.msgTarget = 'under';
var tranny = new Ext.form.ComboBox({
allowBlank:false,
blankText:'請?zhí)顚懟蜻x擇發(fā)布版塊!',
typeAhead: true,
triggerAction: 'all',
transform:'Board',
width:179,
forceSelection:true
});
var LinkName = new Ext.form.TextField({
allowBlank:false,
blankText:'鏈接地址名不能為空!'
});
LinkName.applyTo('LinkName');
var Url = new Ext.form.TextField({
allowBlank:false,
blankText:'鏈接地址不能為空!',
vtype:'url'
//
});
Url.applyTo('Url');
var memo = new Ext.form.TextArea({
width:200, grow:true
});
memo.applyTo('memo');
/* person_form.addButton('保存', function(){
if(person_form.isValid()){
person_form.submit({
method:'POST',clientValidation:true,
waitMsg:'Loading....'
});
//window.location.href('meetingmanage.jsp');
}
});
// explicit add
person_form.addButton('重置', function(){
person_form.reset();
});*/
});
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -