亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? action.js

?? 最強(qiáng)的js界面,超前衛(wèi)的顯示方式 把AJAX運(yùn)用得淋漓盡致。
?? JS
字號(hào):
/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/** * @class Ext.form.Action * The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * the Form needs to perform an action such as submit or load. The Configuration options * listed for this class are set through the Form's action methods: {@link Ext.form.BasicForm#submit submit}, * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}. * <br><br> * The instance of Action which performed the action is passed to the success * and failure callbacks of the Form's action methods ({@link Ext.form.BasicForm#submit submit}, * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}), * and to the {@link Ext.form.BasicForm#actioncomplete actioncomplete} and * {@link Ext.form.BasicForm#actionfailed actionfailed} event handlers. */Ext.form.Action = function(form, options){    this.form = form;    this.options = options || {};};/** * Failure type returned when client side validation of the Form fails * thus aborting a submit action. * @type {String} * @static */Ext.form.Action.CLIENT_INVALID = 'client';/** * Failure type returned when server side validation of the Form fails * indicating that field-specific error messages have been returned in the * response's <tt style="font-weight:bold">errors</tt> property. * @type {String} * @static */Ext.form.Action.SERVER_INVALID = 'server';/** * Failure type returned when a communication error happens when attempting * to send a request to the remote server. * @type {String} * @static */Ext.form.Action.CONNECT_FAILURE = 'connect';/** * Failure type returned when no field values are returned in the response's * <tt style="font-weight:bold">data</tt> property. * @type {String} * @static */Ext.form.Action.LOAD_FAILURE = 'load';Ext.form.Action.prototype = {/** * @cfg {String} url The URL that the Action is to invoke. *//** * @cfg {String} method The HTTP method to use to access the requested URL. Defaults to the * {@link Ext.form.BasicForm}'s method, or if that is not specified, the underlying DOM form's method. *//** * @cfg {Mixed} params Extra parameter values to pass. These are added to the Form's * {@link Ext.form.BasicForm#baseParams} and passed to the specified URL along with the Form's * input fields. *//** * @cfg {Function} success The function to call when a valid success return packet is recieved. * The function is passed the following parameters:<ul class="mdetail-params"> * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li> * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. The {@link #result} * property of this object may be examined to perform custom postprocessing.</div></li> * </ul> *//** * @cfg {Function} failure The function to call when a failure packet was recieved, or when an * error ocurred in the Ajax communication. * The function is passed the following parameters:<ul class="mdetail-params"> * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li> * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. If an Ajax * error ocurred, the failure type will be in {@link #failureType}. The {@link #result} * property of this object may be examined to perform custom postprocessing.</div></li> * </ul>*//** * @cfg {Object} scope The scope in which to call the callback functions (The <tt>this</tt> reference * for the callback functions). *//** * @cfg {String} waitMsg The message to be displayed by a call to {@link Ext.MessageBox#wait} * during the time the action is being processed. *//** * @cfg {String} waitTitle The title to be displayed by a call to {@link Ext.MessageBox#wait} * during the time the action is being processed. *//** * The type of action this Action instance performs. * Currently only "submit" and "load" are supported. * @type {String} */    type : 'default',/** * The type of failure detected. See {@link #Ext.form.Action.CLIENT_INVALID CLIENT_INVALID}, {@link #Ext.form.Action.SERVER_INVALID SERVER_INVALID}, * {@link #Ext.form.Action.CONNECT_FAILURE CONNECT_FAILURE}, {@link #Ext.form.Action.LOAD_FAILURE LOAD_FAILURE} * @property failureType * @type {String} *//** * The XMLHttpRequest object used to perform the action. * @property response * @type {Object} *//** * The decoded response object containing a boolean <tt style="font-weight:bold">success</tt> property and * other, action-specific properties. * @property result * @type {Object} */    // interface method    run : function(options){    },    // interface method    success : function(response){    },    // interface method    handleResponse : function(response){    },    // default connection failure    failure : function(response){        this.response = response;        this.failureType = Ext.form.Action.CONNECT_FAILURE;        this.form.afterAction(this, false);    },    // private    processResponse : function(response){        this.response = response;        if(!response.responseText){            return true;        }        this.result = this.handleResponse(response);        return this.result;    },    // utility functions used internally    getUrl : function(appendParams){        var url = this.options.url || this.form.url || this.form.el.dom.action;        if(appendParams){            var p = this.getParams();            if(p){                url += (url.indexOf('?') != -1 ? '&' : '?') + p;            }        }        return url;    },    // private    getMethod : function(){        return (this.options.method || this.form.method || this.form.el.dom.method || 'POST').toUpperCase();    },    // private    getParams : function(){        var bp = this.form.baseParams;        var p = this.options.params;        if(p){            if(typeof p == "object"){                p = Ext.urlEncode(Ext.applyIf(p, bp));            }else if(typeof p == 'string' && bp){                p += '&' + Ext.urlEncode(bp);            }        }else if(bp){            p = Ext.urlEncode(bp);        }        return p;    },    // private    createCallback : function(opts){		var opts = opts || {};        return {            success: this.success,            failure: this.failure,            scope: this,            timeout: (opts.timeout*1000) || (this.form.timeout*1000),            upload: this.form.fileUpload ? this.success : undefined        };    }};/** * @class Ext.form.Action.Submit * @extends Ext.form.Action * A class which handles submission of data from {@link Ext.form.BasicForm Form}s * and processes the returned response. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * submitting. * <br><br> * A response packet must contain a boolean <tt style="font-weight:bold">success</tt> property, and, optionally * an <tt style="font-weight:bold">errors</tt> property. The <tt style="font-weight:bold">errors</tt> property contains error * messages for invalid fields. * <br><br> * By default, response packets are assumed to be JSON, so a typical response * packet may look like this: * <br><br><pre><code>{    success: false,    errors: {        clientCode: "Client not found",        portOfLoading: "This field must not be null"    }}</code></pre> * <br><br> * Other data may be placed into the response for processing the the {@link Ext.form.BasicForm}'s callback * or event handler methods. The object decoded from this JSON is available in the {@link #result} property. */Ext.form.Action.Submit = function(form, options){    Ext.form.Action.Submit.superclass.constructor.call(this, form, options);};Ext.extend(Ext.form.Action.Submit, Ext.form.Action, {    /**    * @cfg {boolean} clientValidation Determines whether a Form's fields are validated    * in a final call to {@link Ext.form.BasicForm#isValid isValid} prior to submission.    * Pass <tt>false</tt> in the Form's submit options to prevent this. If not defined, pre-submission field validation    * is performed.    */    type : 'submit',    // private    run : function(){        var o = this.options;        var method = this.getMethod();        var isPost = method == 'POST';        if(o.clientValidation === false || this.form.isValid()){            Ext.Ajax.request(Ext.apply(this.createCallback(o), {                form:this.form.el.dom,                url:this.getUrl(!isPost),                method: method,                params:isPost ? this.getParams() : null,                isUpload: this.form.fileUpload            }));        }else if (o.clientValidation !== false){ // client validation failed            this.failureType = Ext.form.Action.CLIENT_INVALID;            this.form.afterAction(this, false);        }    },    // private    success : function(response){        var result = this.processResponse(response);        if(result === true || result.success){            this.form.afterAction(this, true);            return;        }        if(result.errors){            this.form.markInvalid(result.errors);            this.failureType = Ext.form.Action.SERVER_INVALID;        }        this.form.afterAction(this, false);    },    // private    handleResponse : function(response){        if(this.form.errorReader){            var rs = this.form.errorReader.read(response);            var errors = [];            if(rs.records){                for(var i = 0, len = rs.records.length; i < len; i++) {                    var r = rs.records[i];                    errors[i] = r.data;                }            }            if(errors.length < 1){                errors = null;            }            return {                success : rs.success,                errors : errors            };        }        return Ext.decode(response.responseText);    }});/** * @class Ext.form.Action.Load * @extends Ext.form.Action * A class which handles loading of data from a server into the Fields of * an {@link Ext.form.BasicForm}. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * submitting. * <br><br> * A response packet <b>must</b> contain a boolean <tt style="font-weight:bold">success</tt> property, and * a <tt style="font-weight:bold">data</tt> property. The <tt style="font-weight:bold">data</tt> property contains the * values of Fields to load. The individual value object for each Field * is passed to the Field's {@link Ext.form.Field#setValue setValue} method. * <br><br> * By default, response packets are assumed to be JSON, so a typical response * packet may look like this: * <br><br><pre><code>{    success: true,    data: {        clientName: "Fred. Olsen Lines",        portOfLoading: "FXT",        portOfDischarge: "OSL"    }}</code></pre> * <br><br> * Other data may be placed into the response for processing the the {@link Ext.form.BasicForm Form}'s callback * or event handler methods. The object decoded from this JSON is available in the {@link #result} property. */Ext.form.Action.Load = function(form, options){    Ext.form.Action.Load.superclass.constructor.call(this, form, options);    this.reader = this.form.reader;};Ext.extend(Ext.form.Action.Load, Ext.form.Action, {    // private    type : 'load',    // private    run : function(){        Ext.Ajax.request(Ext.apply(                this.createCallback(this.options), {                    method:this.getMethod(),                    url:this.getUrl(false),                    params:this.getParams()        }));    },    // private    success : function(response){        var result = this.processResponse(response);        if(result === true || !result.success || !result.data){            this.failureType = Ext.form.Action.LOAD_FAILURE;            this.form.afterAction(this, false);            return;        }        this.form.clearInvalid();        this.form.setValues(result.data);        this.form.afterAction(this, true);    },    // private    handleResponse : function(response){        if(this.form.reader){            var rs = this.form.reader.read(response);            var data = rs.records && rs.records[0] ? rs.records[0].data : null;            return {                success : rs.success,                data : data            };        }        return Ext.decode(response.responseText);    }});Ext.form.Action.ACTION_TYPES = {    'load' : Ext.form.Action.Load,    'submit' : Ext.form.Action.Submit};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91美女视频网站| 国产成人午夜99999| 久久影院视频免费| 欧美自拍偷拍午夜视频| 国产精品一区二区不卡| 亚洲国产精品精华液网站| 欧美韩国日本不卡| 日韩一区二区麻豆国产| 日本韩国欧美一区二区三区| 成人美女在线视频| 国产一区二区三区免费看| 午夜精品在线视频一区| 亚洲精品网站在线观看| 国产精品久久久一本精品| 精品国产区一区| 欧美日韩一级视频| 色综合久久天天综合网| 成年人网站91| 岛国一区二区在线观看| 久久99精品国产麻豆婷婷| 亚洲最新视频在线播放| av动漫一区二区| 久久电影网电视剧免费观看| 日韩欧美国产成人一区二区| 欧美日本在线一区| 91成人在线免费观看| 91丨porny丨中文| 国产精品一卡二| 久久99在线观看| 极品少妇一区二区| 黄色小说综合网站| 美女性感视频久久| 麻豆成人久久精品二区三区红| 偷拍一区二区三区| 日韩福利视频导航| 麻豆精品一区二区av白丝在线| 五月激情六月综合| 午夜电影久久久| 免费成人在线播放| 国产最新精品免费| 国产精品资源在线观看| 国产成人精品1024| 99国产麻豆精品| 欧美综合亚洲图片综合区| 欧美色网一区二区| 欧美精品乱码久久久久久按摩 | 26uuu亚洲综合色| 2024国产精品| 欧美国产一区二区在线观看| 国产精品伦一区| 一区二区欧美在线观看| 亚洲va欧美va人人爽午夜| 日韩av在线发布| 国产一区二区不卡| 99久久99久久精品国产片果冻| av成人老司机| 欧美少妇xxx| 免费观看一级特黄欧美大片| 久久99日本精品| 国产aⅴ综合色| 色老头久久综合| 日韩一卡二卡三卡四卡| 欧美影院一区二区| 日本高清不卡aⅴ免费网站| 99精品视频在线观看免费| 国产精品自拍一区| 久久99九九99精品| 在线日韩av片| 666欧美在线视频| av在线不卡电影| 国产精一品亚洲二区在线视频| 成人av网站在线观看免费| 色综合视频一区二区三区高清| 欧美视频完全免费看| 久久久亚洲精品一区二区三区 | 国产亚洲精品资源在线26u| 国产精品免费观看视频| 亚洲成av人片www| 国产精品一区二区久久精品爱涩| 91久久精品一区二区| 精品人在线二区三区| 一区二区三区四区蜜桃| 狠狠色狠狠色综合系列| 日本高清免费不卡视频| 精品91自产拍在线观看一区| 亚洲欧美一区二区三区孕妇| 蜜桃久久精品一区二区| 91麻豆国产福利在线观看| 精品日本一线二线三线不卡| 一区二区三区高清| 国产精品一二三区| 欧美一区二区网站| 亚洲丝袜自拍清纯另类| 狠狠久久亚洲欧美| 在线成人av网站| 亚洲图片另类小说| 国产a级毛片一区| 日韩欧美色综合| 偷拍亚洲欧洲综合| 色爱区综合激月婷婷| 国产精品午夜春色av| 免费观看日韩av| 欧美理论在线播放| 一区二区三区丝袜| av电影天堂一区二区在线观看| 欧美精品一区二区三区四区| 天天色图综合网| 91日韩一区二区三区| 欧美国产精品一区二区三区| 蜜桃免费网站一区二区三区| 欧美日韩不卡一区| 亚洲黄色小视频| 99国产精品一区| 国产精品免费视频一区| 国产乱码精品一区二区三区五月婷| 欧美另类久久久品| 亚洲va国产天堂va久久en| 色狠狠色噜噜噜综合网| 日韩毛片精品高清免费| 不卡av在线免费观看| 欧美国产丝袜视频| 国产v综合v亚洲欧| 国产午夜精品美女毛片视频| 国产美女视频一区| 精品少妇一区二区三区 | 色爱区综合激月婷婷| 自拍偷拍欧美精品| 97久久超碰国产精品| 国产精品美女久久久久av爽李琼| 高清不卡一区二区在线| 欧美韩国日本综合| 99久久久精品| 一区二区三区精品在线观看| 91色九色蝌蚪| 亚洲福利电影网| 欧美特级限制片免费在线观看| 亚洲欧洲成人精品av97| 99re这里只有精品首页| 成人免费在线观看入口| 色狠狠综合天天综合综合| 一区二区三区欧美在线观看| 欧美日韩五月天| 三级久久三级久久久| 日韩欧美一卡二卡| 国产精品一区二区不卡| 国产精品视频一二三区| 色噜噜狠狠成人中文综合| 亚洲综合一二区| 56国语精品自产拍在线观看| 美女在线视频一区| 久久久不卡影院| 97久久超碰国产精品| 亚洲一二三区在线观看| 欧美一级高清大全免费观看| 国产一区二区在线视频| 国产女主播一区| 色综合久久久网| 日本大胆欧美人术艺术动态| 欧美精品一区二区久久婷婷 | 精品视频123区在线观看| 亚洲一区二区三区免费视频| 日韩一区二区三区视频在线| 国产精品自产自拍| 亚洲精品国产a| 欧美一级免费观看| 成人小视频免费在线观看| 亚洲精品第一国产综合野| 欧洲一区二区三区在线| 极品美女销魂一区二区三区免费| 国产精品免费看片| 在线不卡免费av| 高清视频一区二区| 天堂资源在线中文精品| 国产欧美一区二区三区在线老狼 | 99re这里只有精品6| 视频一区免费在线观看| 国产清纯在线一区二区www| 在线观看日韩电影| 国产精品一色哟哟哟| 亚洲国产精品天堂| 国产欧美日韩综合精品一区二区| 欧美偷拍一区二区| 成人短视频下载| 免费在线观看成人| 一区二区三区在线视频观看58 | 国产精品国产三级国产专播品爱网 | 亚洲伦理在线精品| 欧美一区二区成人6969| 99re成人精品视频| 激情综合网天天干| 亚洲va在线va天堂| 亚洲欧洲日韩综合一区二区| 精品粉嫩aⅴ一区二区三区四区| 色综合久久久久综合99| 国产乱一区二区| 日韩av一级电影| 亚洲狠狠丁香婷婷综合久久久| 久久精品亚洲麻豆av一区二区 | 中文字幕亚洲精品在线观看| 久久伊人中文字幕|