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

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

?? jquery-plugins.js

?? ext js demo ext學(xué)習(xí)資料
?? JS
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
 * jQuery form plugin * @requires jQuery v1.0.3 * * Dual licensed under the MIT and GPL licenses: *   http://www.opensource.org/licenses/mit-license.php *   http://www.gnu.org/licenses/gpl.html * * Revision: $Id$ * Version: 0.9 *//** * ajaxSubmit() provides a mechanism for submitting an HTML form using AJAX. * * ajaxSubmit accepts a single argument which can be either a success callback function * or an options Object.  If a function is provided it will be invoked upon successful * completion of the submit and will be passed the response from the server. * If an options Object is provided, the following attributes are supported: * *  target:   Identifies the element(s) in the page to be updated with the server response. *            This value may be specified as a jQuery selection string, a jQuery object, *            or a DOM element. *            default value: null * *  url:      URL to which the form data will be submitted. *            default value: value of form's 'action' attribute * *  method:   @deprecated use 'type' *  type:     The method in which the form data should be submitted, 'GET' or 'POST'. *            default value: value of form's 'method' attribute (or 'GET' if none found) * *  before:   @deprecated use 'beforeSubmit' *  beforeSubmit:  Callback method to be invoked before the form is submitted. *            default value: null * *  after:    @deprecated use 'success' *  success:  Callback method to be invoked after the form has been successfully submitted *            and the response has been returned from the server *            default value: null * *  dataType: Expected dataType of the response.  One of: null, 'xml', 'script', or 'json' *            default value: null * *  semantic: Boolean flag indicating whether data must be submitted in semantic order (slower). *            default value: false * *  resetForm: Boolean flag indicating whether the form should be reset if the submit is successful * *  clearForm: Boolean flag indicating whether the form should be cleared if the submit is successful * * * The 'beforeSubmit' callback can be provided as a hook for running pre-submit logic or for * validating the form data.  If the 'beforeSubmit' callback returns false then the form will * not be submitted. The 'beforeSubmit' callback is invoked with three arguments: the form data * in array format, the jQuery object, and the options object passed into ajaxSubmit. * The form data array takes the following form: * *     [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] * * If a 'success' callback method is provided it is invoked after the response has been returned * from the server.  It is passed the responseText or responseXML value (depending on dataType). * See jQuery.ajax for further details. * * * The dataType option provides a means for specifying how the server response should be handled. * This maps directly to the jQuery.httpData method.  The following values are supported: * *      'xml':    if dataType == 'xml' the server response is treated as XML and the 'after' *                   callback method, if specified, will be passed the responseXML value *      'json':   if dataType == 'json' the server response will be evaluted and passed to *                   the 'after' callback, if specified *      'script': if dataType == 'script' the server response is evaluated in the global context * * * Note that it does not make sense to use both the 'target' and 'dataType' options.  If both * are provided the target will be ignored. * * The semantic argument can be used to force form serialization in semantic order. * This is normally true anyway, unless the form contains input elements of type='image'. * If your form must be submitted with name/value pairs in semantic order and your form * contains an input of type='image" then pass true for this arg, otherwise pass false * (or nothing) to avoid the overhead for this logic. * * * When used on its own, ajaxSubmit() is typically bound to a form's submit event like this: * * $("#form-id").submit(function() { *     $(this).ajaxSubmit(options); *     return false; // cancel conventional submit * }); * * When using ajaxForm(), however, this is done for you. * * @example * $('#myForm').ajaxSubmit(function(data) { *     alert('Form submit succeeded! Server returned: ' + data); * }); * @desc Submit form and alert server response * * * @example * var options = { *     target: '#myTargetDiv' * }; * $('#myForm').ajaxSubmit(options); * @desc Submit form and update page element with server response * * * @example * var options = { *     success: function(responseText) { *         alert(responseText); *     } * }; * $('#myForm').ajaxSubmit(options); * @desc Submit form and alert the server response * * * @example * var options = { *     beforeSubmit: function(formArray, jqForm) { *         if (formArray.length == 0) { *             alert('Please enter data.'); *             return false; *         } *     } * }; * $('#myForm').ajaxSubmit(options); * @desc Pre-submit validation which aborts the submit operation if form data is empty * * * @example * var options = { *     url: myJsonUrl.php, *     dataType: 'json', *     success: function(data) { *        // 'data' is an object representing the the evaluated json data *     } * }; * $('#myForm').ajaxSubmit(options); * @desc json data returned and evaluated * * * @example * var options = { *     url: myXmlUrl.php, *     dataType: 'xml', *     success: function(responseXML) { *        // responseXML is XML document object *        var data = $('myElement', responseXML).text(); *     } * }; * $('#myForm').ajaxSubmit(options); * @desc XML data returned from server * * * @example * var options = { *     resetForm: true * }; * $('#myForm').ajaxSubmit(options); * @desc submit form and reset it if successful * * @example * $('#myForm).submit(function() { *    $(this).ajaxSubmit(); *    return false; * }); * @desc Bind form's submit event to use ajaxSubmit * * * @name ajaxSubmit * @type jQuery * @param options  object literal containing options which control the form submission process * @cat Plugins/Form * @return jQuery * @see formToArray * @see ajaxForm * @see $.ajax * @author jQuery Community */jQuery.fn.ajaxSubmit = function(options) {    if (typeof options == 'function')        options = { success: options };    options = jQuery.extend({        url:    this.attr('action') || '',        method: this.attr('method') || 'GET'    }, options || {});    // remap deprecated options (temporarily)    options.success = options.success || options.after;    options.beforeSubmit = options.beforeSubmit || options.before;    options.type = options.type || options.method;    var a = this.formToArray(options.semantic);    // give pre-submit callback an opportunity to abort the submit    if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) return this;    var q = jQuery.param(a);    if (options.type.toUpperCase() == 'GET') {        // if url already has a '?' then append args after '&'        options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q;        options.data = null;  // data is null for 'get'    }    else        options.data = q; // data is the query string for 'post'    var $form = this, callbacks = [];    if (options.resetForm) callbacks.push(function() { $form.resetForm(); });    if (options.clearForm) callbacks.push(function() { $form.clearForm(); });    // perform a load on the target only if dataType is not provided    if (!options.dataType && options.target) {        var oldSuccess = options.success || function(){};        callbacks.push(function(data, status) {            jQuery(options.target).attr("innerHTML", data).evalScripts().each(oldSuccess, [data, status]);        });    }    else if (options.success)        callbacks.push(options.success);    options.success = function(data, status) {        for (var i=0, max=callbacks.length; i < max; i++)            callbacks[i](data, status);    };    jQuery.ajax(options);    return this;};/** * ajaxForm() provides a mechanism for fully automating form submission. * * The advantages of using this method instead of ajaxSubmit() are: * * 1: This method will include coordinates for <input type="image" /> elements (if the element *    is used to submit the form). * 2. This method will include the submit element's name/value data (for the element that was *    used to submit the form). * 3. This method binds the submit() method to the form for you. * * Note that for accurate x/y coordinates of image submit elements in all browsers * you need to also use the "dimensions" plugin (this method will auto-detect its presence). * * The options argument for ajaxForm works exactly as it does for ajaxSubmit.  ajaxForm merely * passes the options argument along after properly binding events for submit elements and * the form itself.  See ajaxSubmit for a full description of the options argument. * * * @example * var options = { *     target: '#myTargetDiv' * }; * $('#myForm').ajaxSForm(options); * @desc Bind form's submit event so that 'myTargetDiv' is updated with the server response *       when the form is submitted. * * * @example * var options = { *     success: function(responseText) { *         alert(responseText); *     } * }; * $('#myForm').ajaxSubmit(options); * @desc Bind form's submit event so that server response is alerted after the form is submitted. * * * @example * var options = { *     beforeSubmit: function(formArray, jqForm) { *         if (formArray.length == 0) { *             alert('Please enter data.'); *             return false; *         } *     } * }; * $('#myForm').ajaxSubmit(options); * @desc Bind form's submit event so that pre-submit callback is invoked before the form *       is submitted. * * * @name   ajaxForm * @param  options  object literal containing options which control the form submission process * @return jQuery * @cat    Plugins/Form * @type   jQuery * @see    ajaxSubmit * @author jQuery Community */jQuery.fn.ajaxForm = function(options) {    return this.each(function() {        jQuery("input:submit,input:image,button:submit", this).click(function(ev) {            var $form = this.form;            $form.clk = this;            if (this.type == 'image') {                if (ev.offsetX != undefined) {                    $form.clk_x = ev.offsetX;                    $form.clk_y = ev.offsetY;                } else if (typeof jQuery.fn.offset == 'function') { // try to use dimensions plugin                    var offset = jQuery(this).offset();                    $form.clk_x = ev.pageX - offset.left;                    $form.clk_y = ev.pageY - offset.top;                } else {                    $form.clk_x = ev.pageX - this.offsetLeft;                    $form.clk_y = ev.pageY - this.offsetTop;                }            }            // clear form vars            setTimeout(function() {                $form.clk = $form.clk_x = $form.clk_y = null;                }, 10);        })    }).submit(function(e) {        jQuery(this).ajaxSubmit(options);        return false;    });};

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品一区二区三区蜜臀| 亚洲欧洲www| 色综合久久综合网| 麻豆高清免费国产一区| 亚洲同性gay激情无套| 日韩欧美一区二区不卡| 欧美羞羞免费网站| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 丁香激情综合五月| 久久爱www久久做| 性做久久久久久| 中文字幕一区二区三区不卡 | 成人国产亚洲欧美成人综合网| 奇米888四色在线精品| 一区二区三区四区激情| 亚洲国产精品成人综合色在线婷婷| 91精品欧美一区二区三区综合在 | 国产成人免费在线视频| 日韩成人精品在线观看| 亚洲另类一区二区| 亚洲婷婷国产精品电影人久久| 久久青草欧美一区二区三区| 欧美一区二区视频免费观看| 欧美综合视频在线观看| 91日韩在线专区| 成人一区二区三区中文字幕| 精品午夜一区二区三区在线观看| 日韩精品一区第一页| 亚洲国产精品嫩草影院| 亚洲精品老司机| 亚洲欧洲日韩一区二区三区| 国产日产亚洲精品系列| 久久蜜桃av一区二区天堂 | 日韩成人精品在线观看| 亚洲成人手机在线| 亚洲一区二区在线播放相泽 | 日韩精品一二区| 五月开心婷婷久久| 婷婷中文字幕一区三区| 日韩国产高清在线| 奇米影视一区二区三区小说| 日本午夜一本久久久综合| 美女mm1313爽爽久久久蜜臀| 激情五月婷婷综合| 久久99国产精品免费网站| 紧缚奴在线一区二区三区| 久久精品国产精品青草| 激情综合五月天| 国内国产精品久久| 国产成人av资源| 成人av网站在线| 色婷婷精品大在线视频| 欧美天天综合网| 欧美疯狂做受xxxx富婆| 91精品在线一区二区| 2017欧美狠狠色| 亚洲欧洲国产日韩| 亚洲第一久久影院| 久久99国产精品免费| 成人h版在线观看| 欧洲精品一区二区| 日韩亚洲欧美在线| 久久―日本道色综合久久| 成人免费在线播放视频| 一区二区三区欧美日| 日韩av一区二区三区四区| 国产精品自拍在线| 91久久国产最好的精华液| 日韩一本二本av| 国产欧美中文在线| 一区二区三区在线看| 蜜臀av一区二区三区| 成人黄色小视频在线观看| 欧美色图在线观看| www成人在线观看| 亚洲欧美成aⅴ人在线观看| 日韩精品午夜视频| 成人黄色a**站在线观看| 欧美日韩精品一区二区三区蜜桃| 久久亚洲私人国产精品va媚药| 亚洲欧美一区二区不卡| 久久国产综合精品| 色综合天天做天天爱| 日韩欧美的一区| 亚洲免费成人av| 经典一区二区三区| 91免费观看视频在线| 日韩一区二区在线免费观看| 国产精品国产精品国产专区不片| 午夜精品久久久久久久99樱桃| 国产精品亚洲а∨天堂免在线| 欧美丝袜丝交足nylons| 中文字幕av一区二区三区高| 日本美女一区二区| 91浏览器在线视频| 国产亚洲综合性久久久影院| 日韩福利电影在线| 99视频精品全部免费在线| 日韩精品中文字幕一区二区三区| 亚洲人成网站色在线观看| 国产在线精品国自产拍免费| 欧美美女一区二区在线观看| 中文字幕在线不卡视频| 国产一区久久久| 日韩一区二区中文字幕| 亚洲国产中文字幕在线视频综合| 成年人网站91| 亚洲国产精品精华液ab| 丝瓜av网站精品一区二区| 一本大道久久a久久精品综合| 日本一区二区三区免费乱视频| 男女视频一区二区| 欧美猛男gaygay网站| 一区二区三区波多野结衣在线观看| 高清不卡在线观看av| 2021久久国产精品不只是精品| 日本免费新一区视频| 欧美体内she精视频| 一区二区三区在线影院| 99视频国产精品| 亚洲国产精品v| 岛国精品一区二区| 国产丝袜欧美中文另类| 精品系列免费在线观看| 日韩精品一区二区三区四区视频| 亚洲va欧美va人人爽| 精品视频在线免费看| 一区二区免费视频| 91丨九色porny丨蝌蚪| 国产精品卡一卡二卡三| 国产成人亚洲综合a∨婷婷图片 | 久久久久久久久久看片| 精品一区二区三区欧美| 欧美成人福利视频| 精东粉嫩av免费一区二区三区| 欧美mv和日韩mv国产网站| 极品美女销魂一区二区三区免费| 欧美成人精精品一区二区频| 久久99国产精品久久| 精品国精品国产| 国产一区二区精品在线观看| 欧美精品一区二区高清在线观看| 精品一区二区免费视频| 精品国产凹凸成av人网站| 久久91精品久久久久久秒播| 久久免费美女视频| 国产精品18久久久久久vr | 亚洲一本大道在线| 欧美精品自拍偷拍| 秋霞午夜av一区二区三区| 日韩美女一区二区三区| 日韩精品一卡二卡三卡四卡无卡| 91亚洲男人天堂| 国产精品毛片久久久久久久| www.欧美精品一二区| ...中文天堂在线一区| 欧美网站一区二区| 奇米影视在线99精品| 久久品道一品道久久精品| 国产成人精品免费在线| 亚洲天堂av一区| 欧美日韩在线一区二区| 免费国产亚洲视频| 亚洲国产精品av| 色又黄又爽网站www久久| 日韩av网站免费在线| 久久亚洲一级片| 色呦呦日韩精品| 青青草成人在线观看| 久久久99精品久久| 91在线视频免费观看| 三级成人在线视频| 国产日韩欧美高清在线| 91九色02白丝porn| 久久成人免费网| 亚洲视频每日更新| 日韩三级av在线播放| av不卡在线播放| 奇米一区二区三区| |精品福利一区二区三区| 欧美一区二区视频网站| av一区二区三区在线| 日韩高清一区在线| 中文字幕一区二区三区在线播放| 欧美剧情电影在线观看完整版免费励志电影 | 日韩一区二区三区免费看| 成人开心网精品视频| 日本中文字幕一区二区视频 | 麻豆久久久久久| 136国产福利精品导航| 精品美女在线观看| 色婷婷激情综合| 国产高清亚洲一区| 午夜日韩在线观看| 中文字幕制服丝袜一区二区三区| 欧美一二三区在线| 欧美性受极品xxxx喷水| 成人黄色在线看| 久久精品国产99| 亚洲高清中文字幕|