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

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

?? jquery-plugins.js

?? blog,介紹:ui層是用ext做的
?? JS
?? 第 1 頁 / 共 3 頁
字號:
/** * formToArray() gathers form element data into an array of objects that can * be passed to any of the following ajax functions: $.get, $.post, or load. * Each object in the array has both a 'name' and 'value' property.  An example of * an array for a simple login form might be: * * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] * * It is this array that is passed to pre-submit callback functions provided to the * ajaxSubmit() and ajaxForm() methods. * * 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. * * @example var data = $("#myForm").formToArray(); * $.post( "myscript.cgi", data ); * @desc Collect all the data from a form and submit it to the server. * * @name formToArray * @param semantic true if serialization must maintain strict semantic ordering of elements (slower) * @type Array<Object> * @cat Plugins/Form * @see ajaxForm * @see ajaxSubmit * @author jQuery Community */jQuery.fn.formToArray = function(semantic) {    var a = [];    if (this.length == 0) return a;    var form = this[0];    var els = semantic ? form.getElementsByTagName('*') : form.elements;    if (!els) return a;    for(var i=0, max=els.length; i < max; i++) {        var el = els[i];        var n = el.name;        if (!n) continue;        if (semantic && form.clk && el.type == "image") {            // handle image inputs on the fly when semantic == true            if(!el.disabled && form.clk == el)                a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});            continue;        }        var v = jQuery.fieldValue(el, true);        if (v === null) continue;        if (v.constructor == Array) {            for(var j=0, jmax=v.length; j < jmax; j++)                a.push({name: n, value: v[j]});        }        else            a.push({name: n, value: v});    }    if (!semantic && form.clk) {        // input type=='image' are not found in elements array! handle them here        var inputs = form.getElementsByTagName("input");        for(var i=0, max=inputs.length; i < max; i++) {            var input = inputs[i];            var n = input.name;            if(n && !input.disabled && input.type == "image" && form.clk == input)                a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});        }    }    return a;};/** * Serializes form data into a 'submittable' string. This method will return a string * in the format: name1=value1&amp;name2=value2 * * The semantic argument can be used to force form serialization in semantic order. * If your form must be submitted with name/value pairs in semantic order then pass * true for this arg, otherwise pass false (or nothing) to avoid the overhead for * this logic (which can be significant for very large forms). * * @example var data = $("#myForm").formSerialize(); * $.ajax('POST', "myscript.cgi", data); * @desc Collect all the data from a form into a single string * * @name formSerialize * @param semantic true if serialization must maintain strict semantic ordering of elements (slower) * @type String * @cat Plugins/Form * @see formToArray * @author jQuery Community */jQuery.fn.formSerialize = function(semantic) {    //hand off to jQuery.param for proper encoding    return jQuery.param(this.formToArray(semantic));};/** * Serializes all field elements in the jQuery object into a query string. * This method will return a string in the format: name1=value1&amp;name2=value2 * * The successful argument controls whether or not serialization is limited to * 'successful' controls (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls). * The default value of the successful argument is true. * * @example var data = $("input").formSerialize(); * @desc Collect the data from all successful input elements into a query string * * @example var data = $(":radio").formSerialize(); * @desc Collect the data from all successful radio input elements into a query string * * @example var data = $("#myForm :checkbox").formSerialize(); * @desc Collect the data from all successful checkbox input elements in myForm into a query string * * @example var data = $("#myForm :checkbox").formSerialize(false); * @desc Collect the data from all checkbox elements in myForm (even the unchecked ones) into a query string * * @example var data = $(":input").formSerialize(); * @desc Collect the data from all successful input, select, textarea and button elements into a query string * * @name fieldSerialize * @param successful true if only successful controls should be serialized (default is true) * @type String * @cat Plugins/Form */jQuery.fn.fieldSerialize = function(successful) {    var a = [];    this.each(function() {        var n = this.name;        if (!n) return;        var v = jQuery.fieldValue(this, successful);        if (v && v.constructor == Array) {            for (var i=0,max=v.length; i < max; i++)                a.push({name: n, value: v[i]});        }        else if (v !== null && typeof v != 'undefined')            a.push({name: this.name, value: v});    });    //hand off to jQuery.param for proper encoding    return jQuery.param(a);};/** * Returns the value of the field element in the jQuery object.  If there is more than one field element * in the jQuery object the value of the first successful one is returned. * * The successful argument controls whether or not the field element must be 'successful' * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls). * The default value of the successful argument is true.  If this value is false then * the value of the first field element in the jQuery object is returned. * * Note: If no valid value can be determined the return value will be undifined. * * Note: The fieldValue returned for a select-multiple element or for a checkbox input will *       always be an array if it is not undefined. * * * @example var data = $("#myPasswordElement").formValue(); * @desc Gets the current value of the myPasswordElement element * * @example var data = $("#myForm :input").formValue(); * @desc Get the value of the first successful control in the jQuery object. * * @example var data = $("#myForm :checkbox").formValue(); * @desc Get the array of values for the first set of successful checkbox controls in the jQuery object. * * @example var data = $("#mySingleSelect").formValue(); * @desc Get the value of the select control * * @example var data = $("#myMultiSelect").formValue(); * @desc Get the array of selected values for the select-multiple control * * @name fieldValue * @param Boolean successful true if value returned must be for a successful controls (default is true) * @type String or Array<String> * @cat Plugins/Form */jQuery.fn.fieldValue = function(successful) {    var cbVal, cbName;    // loop until we find a value    for (var i=0, max=this.length; i < max; i++) {        var el = this[i];        var v = jQuery.fieldValue(el, successful);        if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length))            continue;        // for checkboxes, consider multiple elements, for everything else just return first valid value        if (el.type != 'checkbox') return v;        cbName = cbName || el.name;        if (cbName != el.name) // return if we hit a checkbox with a different name            return cbVal;        cbVal = cbVal || [];        cbVal.push(v);    }    return cbVal;};/** * Returns the value of the field element. * * The successful argument controls whether or not the field element must be 'successful' * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls). * The default value of the successful argument is true.  If the given element is not * successful and the successful arg is not false then the returned value will be null. * * Note: The fieldValue returned for a select-multiple element will always be an array. * * @example var data = jQuery.fieldValue($("#myPasswordElement")[0]); * @desc Gets the current value of the myPasswordElement element * * @name fieldValue * @param Element el The DOM element for which the value will be returned * @param Boolean successful true if value returned must be for a successful controls (default is true) * @type String or Array<String> * @cat Plugins/Form */jQuery.fieldValue = function(el, successful) {    var n = el.name, t = el.type, tag = el.tagName.toLowerCase();    if (typeof successful == 'undefined') successful = true;    if (successful && ( !n || el.disabled || t == 'reset' ||        (t == 'checkbox' || t == 'radio') && !el.checked ||        (t == 'submit' || t == 'image') && el.form && el.form.clk != el ||        tag == 'select' && el.selectedIndex == -1))            return null;    if (tag == 'select') {        var index = el.selectedIndex;        if (index < 0) return null;        var a = [], ops = el.options;        var one = (t == 'select-one');        var max = (one ? index+1 : ops.length);        for(var i=(one ? index : 0); i < max; i++) {            var op = ops[i];            if (op.selected) {                // extra pain for IE...                var v = jQuery.browser.msie && !(op.attributes['value'].specified) ? op.text : op.value;                if (one) return v;                a.push(v);            }        }        return a;    }    return el.value;};/** * Clears the form data.  Takes the following actions on the form's input fields: *  - input text fields will have their 'value' property set to the empty string *  - select elements will have their 'selectedIndex' property set to -1 *  - checkbox and radio inputs will have their 'checked' property set to false *  - inputs of type submit, button, reset, and hidden will *not* be effected *  - button elements will *not* be effected * * @example $('form').clearForm(); * @desc Clears all forms on the page. * * @name clearForm * @type jQuery * @cat Plugins/Form * @see resetForm */jQuery.fn.clearForm = function() {    return this.each(function() {        jQuery('input,select,textarea', this).clearFields();    });};/** * Clears the selected form elements.  Takes the following actions on the matched elements: *  - input text fields will have their 'value' property set to the empty string *  - select elements will have their 'selectedIndex' property set to -1 *  - checkbox and radio inputs will have their 'checked' property set to false *  - inputs of type submit, button, reset, and hidden will *not* be effected *  - button elements will *not* be effected * * @example $('.myInputs').clearFields(); * @desc Clears all inputs with class myInputs * * @name clearFields * @type jQuery * @cat Plugins/Form * @see clearForm */jQuery.fn.clearFields = jQuery.fn.clearInputs = function() {    return this.each(function() {        var t = this.type, tag = this.tagName.toLowerCase();        if (t == 'text' || t == 'password' || tag == 'textarea')            this.value = '';        else if (t == 'checkbox' || t == 'radio')            this.checked = false;        else if (tag == 'select')            this.selectedIndex = -1;    });};/** * Resets the form data.  Causes all form elements to be reset to their original value. * * @example $('form').resetForm(); * @desc Resets all forms on the page. * * @name resetForm * @type jQuery * @cat Plugins/Form * @see clearForm */jQuery.fn.resetForm = function() {    return this.each(function() {        // guard against an input with the name of 'reset'        // note that IE reports the reset function as an 'object'        if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType))            this.reset();    });};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色呦呦国产精品| 一本大道综合伊人精品热热| 亚洲人午夜精品天堂一二香蕉| 欧美亚洲综合色| 国产精华液一区二区三区| 亚洲一区二区三区爽爽爽爽爽| www精品美女久久久tv| 91福利国产精品| 粉嫩绯色av一区二区在线观看| 美女网站视频久久| 一级做a爱片久久| 国产精品系列在线| 精品久久久久久久一区二区蜜臀| 一本久久a久久免费精品不卡| 国产精品一区专区| 麻豆精品久久久| 亚洲国产精品精华液网站| 中文字幕不卡在线| 精品88久久久久88久久久| 欧美巨大另类极品videosbest | 国产伦精品一区二区三区视频青涩| 日韩美女久久久| 久久久久国产一区二区三区四区| 7777精品伊人久久久大香线蕉的| 91美女片黄在线观看91美女| 国产91精品精华液一区二区三区 | 国产亚洲欧美日韩俺去了| 日韩一区二区精品葵司在线| 欧美色电影在线| 欧美性色综合网| 免费高清成人在线| 国产亚洲精品免费| 精品国产精品一区二区夜夜嗨| 欧美男男青年gay1069videost| 91麻豆高清视频| 99国产精品视频免费观看| 成人av电影免费观看| 国产精品66部| 国产成人午夜精品5599| 国产综合一区二区| 国产原创一区二区| 国产jizzjizz一区二区| 国产乱子伦一区二区三区国色天香| 麻豆精品一区二区综合av| 美腿丝袜亚洲色图| 国产真实乱对白精彩久久| 国产高清不卡二三区| 国产成人午夜高潮毛片| 成人不卡免费av| www.成人在线| 欧美亚洲禁片免费| 69久久夜色精品国产69蝌蚪网| 日韩精品一区二区三区中文精品| 精品国产一区二区亚洲人成毛片 | 亚洲一区二区三区四区在线| 亚洲图片欧美视频| 日韩精品三区四区| 国内精品伊人久久久久av影院| 久久精品二区亚洲w码| 国产91精品欧美| 色播五月激情综合网| 911国产精品| 欧美成人综合网站| 亚洲国产高清在线| 亚洲国产另类精品专区| 久久精品国产秦先生| 成人av网站在线| 欧美吞精做爰啪啪高潮| 欧美成人国产一区二区| 国产日产欧美一区二区三区| 亚洲激情欧美激情| 蜜桃视频一区二区三区在线观看| 国产91精品一区二区麻豆网站 | 国产欧美一二三区| 亚洲一卡二卡三卡四卡无卡久久| 亚洲一区二区中文在线| 国产在线播放一区| 在线观看亚洲专区| 久久人人爽人人爽| 一二三四区精品视频| 国内精品在线播放| 欧美视频在线播放| 欧美激情综合五月色丁香 | av一区二区久久| 欧美精品日韩一区| 国产精品美女久久久久av爽李琼| 一区二区高清视频在线观看| 久久99九九99精品| 欧洲一区在线观看| 国产欧美1区2区3区| ...av二区三区久久精品| 日本一区二区三区在线观看| 亚洲在线免费播放| 国产精品亚洲а∨天堂免在线| 欧美伊人久久久久久久久影院| 精品国产3级a| 亚洲综合成人在线| 成人app下载| 精品福利av导航| 亚洲第一av色| 91麻豆精品在线观看| 久久久久99精品一区| 视频一区二区三区入口| 91麻豆精东视频| 欧美激情综合在线| 精品无人码麻豆乱码1区2区 | 色综合咪咪久久| 国产午夜精品美女毛片视频| 青青草国产成人av片免费| 色屁屁一区二区| 中文字幕在线一区免费| 国产精品一区二区91| 91精品国产免费久久综合| 一区二区三区精品在线| 成人av网站在线| 国产精品色噜噜| 风间由美一区二区三区在线观看 | 成人v精品蜜桃久久一区| 精品国产99国产精品| 免费的国产精品| 制服丝袜中文字幕一区| 午夜精品123| 欧美日本在线播放| 图片区小说区区亚洲影院| 欧美羞羞免费网站| 亚洲专区一二三| 欧美日韩一卡二卡| 亚洲成a人片综合在线| 欧美日韩视频不卡| 天天综合天天做天天综合| 欧美日韩在线三级| 亚洲成人av在线电影| 欧美精品18+| 日韩成人午夜电影| 91精品国产丝袜白色高跟鞋| 日韩高清在线不卡| 日韩欧美高清一区| 国产寡妇亲子伦一区二区| 国产亚洲欧美日韩日本| 成人av网在线| 亚洲激情自拍视频| 欧美日韩一二三区| 日本不卡中文字幕| 337p日本欧洲亚洲大胆精品| 国产精品1区二区.| 中文字幕色av一区二区三区| 色婷婷精品久久二区二区蜜臂av| 一区二区三区四区在线免费观看| 欧美日韩一级片网站| 麻豆国产精品777777在线| 精品久久久久久最新网址| 成人性色生活片| 亚洲欧美aⅴ...| 欧美日韩dvd在线观看| 久久精品国产亚洲5555| 欧美激情中文不卡| 日本大香伊一区二区三区| 日本美女一区二区| 中文字幕欧美日韩一区| 亚洲二区在线视频| 欧美日韩国产一级| 国产伦精品一区二区三区视频青涩| 欧美国产成人在线| 欧美无砖砖区免费| 精品亚洲aⅴ乱码一区二区三区| 久久精品一区蜜桃臀影院| 91在线免费看| 日日夜夜免费精品| 久久精品日韩一区二区三区| www.亚洲在线| 日韩不卡一二三区| 日本一区二区三区dvd视频在线| 色天使久久综合网天天| 日本美女一区二区三区| 国产精品久久久久久久久久免费看 | 国产亚洲一本大道中文在线| 99视频精品全部免费在线| 午夜激情久久久| 国产色爱av资源综合区| 欧美日韩激情一区二区| 国产成人av电影在线观看| 亚洲国产aⅴ天堂久久| 久久亚洲综合色| 日本乱人伦一区| 国产一区二区不卡老阿姨| 亚洲精品视频在线看| 欧美成人在线直播| 欧美性欧美巨大黑白大战| 国产精品综合一区二区三区| 五月激情六月综合| 亚洲欧洲日本在线| 久久综合精品国产一区二区三区| 欧美最新大片在线看| 高清久久久久久| 蜜桃av噜噜一区| 亚洲电影一区二区| 国产精品国模大尺度视频| 精品少妇一区二区三区免费观看 | 日韩网站在线看片你懂的| 成人激情开心网|