Lines Matching +defs:header +defs:a
61 * ajaxSubmit() provides a mechanism for immediately submitting
116 var qx, a = this.formToArray(options.semantic, elements);
123 if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) {
129 this.trigger('form-submit-validate', [a, this, options, veto]);
135 var q = $.param(a, traditional);
155 // perform a load on the target only if dataType is not provided
197 jqxhr = fileUploadIframe(a);
201 jqxhr = fileUploadIframe(a);
205 jqxhr = fileUploadXhr(a);
235 function fileUploadXhr(a) {
238 for (var i=0; i < a.length; i++) {
239 formdata.append(a[i].name, a[i].value);
288 function fileUploadIframe(a) {
294 // if there is an input with a name or id of 'submit' then we won't be
301 if (a) {
335 statusText: 'n/a',
411 // take a breath so that pending repaints get some cpu time before the upload starts
414 var t = $form.attr('target'), a = $form.attr('action');
421 if (a != s.url) {
488 form.setAttribute('action',a);
550 // the onload callback fires, so we loop a bit to accommodate
566 xhr.getResponseHeader = function(header){
568 return headers[header];
710 * ajaxForm() provides a mechanism for fully automating form submission.
772 // is this a child element of the submit el? (ex: a span within a button)
807 * Each object in the array has both a 'name' and 'value' property. An example of
808 * an array for a simple login form might be:
816 var a = [];
818 return a;
824 return a;
838 a.push({name: n, value: $(el).val(), type: el.type });
839 a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
849 a.push({name: n, value: v[j]});
858 a.push({name: n, value: files[j], type: el.type});
863 a.push({ name: n, value: '', type: el.type });
869 a.push({name: n, value: v, type: el.type, required: el.required});
878 a.push({name: n, value: $input.val()});
879 a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
882 return a;
886 * Serializes form data into a 'submittable' string. This method will return a string
895 * Serializes all field elements in the jQuery object into a query string.
896 * This method will return a string in the format: name1=value1&name2=value2
899 var a = [];
908 a.push({name: n, value: v[i]});
912 a.push({name: this.name, value: v});
916 return $.param(a);
993 var a = [], ops = el.options;
1006 a.push(v);
1009 return a;
1045 // includeHidden can be the value true, or it can be a selector string
1046 // indicating a special test; for example: