Lines Matching +full:e +full:- +full:tel

3  * version: 3.20 (20-NOV-2012)
9 * http://malsup.github.com/mit-license.txt
10 * http://malsup.github.com/gpl-license-v2.txt
18 -----------
24 $('#myForm').on('submit', function(e) {
25 e.preventDefault(); // <-- important
69 log('ajaxSubmit: skipping submit process - no element selected');
98 this.trigger('form-pre-serialize', [this, options, veto]);
100 log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');
122 // give pre-submit callback an opportunity to abort the submit
129 this.trigger('form-submit-validate', [a, this, options, veto]);
131 log('ajaxSubmit: submit vetoed via form-submit-validate trigger');
177 …ttps://github.com/malsup/form/commit/588306aedba1de01388032d5f42a60159eea9228#commitcomment-2180219
181 var mp = 'multipart/form-data';
191 // 06-NOV-09: now defaulting to iframe mode if file input is detected
194 // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d
218 this.trigger('form-submit-notify', [this, options]);
295 // able to invoke the submit fn on the form (at least not x-browser)
325 $io.css({ position: 'absolute', top: '-1000px', left: '-1000px' });
340 var e = (status === 'timeout' ? 'timeout' : 'aborted');
341 log('aborting upload... ' + e);
350 xhr.error = e;
352 s.error.call(s.context, xhr, e, status);
354 $.event.trigger("ajaxError", [xhr, s, e]);
356 s.complete.call(s.context, xhr, e);
371 $.active--;
404 var csrf_token = $('meta[name=csrf-token]').attr('content');
405 var csrf_param = $('meta[name=csrf-param]').attr('content');
428 encoding: 'multipart/form-data',
429 enctype: 'multipart/form-data'
446 catch(e) {
447 log('Server abort: ' , e, ' (', e.name, ')');
507 function cb(e) { argument
516 e = SERVER_ABORT;
518 if (e === CLIENT_TIMEOUT_ABORT && xhr) {
523 else if (e == SERVER_ABORT && xhr) {
548 if (--domCheckCount) {
567 var headers = {'content-type': s.dataType};
606 catch (e) {
608 xhr.error = errMsg = (e || status);
611 catch (e) {
612 log('error caught: ',e);
614 xhr.error = errMsg = (e || status);
647 if (g && ! --$.active) {
684 var ct = xhr.getResponseHeader('content-type') || '',
745 .off('submit.form-plugin', this.selector, doAjaxSubmit)
746 .off('click.form-plugin', this.selector, captureSubmittingElement)
747 .on('submit.form-plugin', this.selector, options, doAjaxSubmit)
748 .on('click.form-plugin', this.selector, options, captureSubmittingElement);
753 .bind('submit.form-plugin', options, doAjaxSubmit)
754 .bind('click.form-plugin', options, captureSubmittingElement);
758 function doAjaxSubmit(e) { argument
760 var options = e.data;
761 if (!e.isDefaultPrevented()) { // if event has been canceled, don't proceed
762 e.preventDefault();
767 function captureSubmittingElement(e) { argument
769 var target = e.target;
782 if (e.offsetX !== undefined) {
783 form.clk_x = e.offsetX;
784 form.clk_y = e.offsetY;
787 form.clk_x = e.pageX - offset.left;
788 form.clk_y = e.pageY - offset.top;
790 form.clk_x = e.pageX - target.offsetLeft;
791 form.clk_y = e.pageY - target.offsetTop;
801 return this.unbind('submit.form-plugin click.form-plugin');
812 * It is this array that is passed to pre-submit callback functions provided to the
950 * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls).
984 tag == 'select' && el.selectedIndex == -1)) {
994 var one = (t == 'select-one');
1016 * - input text fields will have their 'value' property set to the empty string
1017 * - select elements will have their 'selectedIndex' property set to -1
1018 * - checkbox and radio inputs will have their 'checked' property set to false
1019 * - inputs of type submit, button, reset, and hidden will *not* be effected
1020 * - button elements will *not* be effected
1032 …var re = /^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)…
1042 this.selectedIndex = -1;
1096 if (select && $sel[0] && $sel[0].type == 'select-one') {