1// JavaScript Document 2 3$(function() { 4 5 6 $("#frmAddRegistro").validate({ 7 submitHandler: function(form){ 8 9 $(form).ajaxSubmit({ 10 dataType: 'json', 11 success: function(jsonData, statusText, xhr){ 12 13 if (jsonData.status == false){ 14 15 } else { 16 17 } 18 19 } 20 21 }); 22 }, 23 24 rules:{ 25 'nombre': { 26 required: true, 27 minlength: 3 28 }, 29 'apellido': { 30 required: true, 31 minlength: 3 32 }, 33 'dni': { 34 required: true, 35 minlength: 4, 36 maxlength: 15 37 }, 38 'email': { 39 required: true, 40 email: true, 41 minlength: 4 42 }, 43 'email2': { 44 required: true, 45 email: true, 46 minlength: 4, 47 equalTo: '#email' 48 }, 49 'pass': { 50 required: true, 51 minlength: 6 52 }, 53 'pass2': { 54 required: true, 55 minlength: 6, 56 equalTo: '#pass' 57 }, 58 'socio': { 59 required: true, 60 minlength: 4 61 }, 62 63 } 64 }); 65 66 67 68 69}); 70
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.