1var formUtils = { 2 resetForm : function (id) { 3 $("form#" + id).each(function() { 4 this.reset(); 5 }); 6 }, 7 btnState : function (id, isEnable) { 8 if (isEnable) { 9 $(id).prop('disabled', false); 10 $(id).css('opacity', 1.0); 11 } else { 12 $(id).prop('disabled', true); 13 $(id).css('opacity', 0.5); 14 } 15 }, 16 17 18 chkTelNum : function (value) { 19 var telExp = /^\d{2,3}-\d{3,4}-\d{4}$/; 20 return telExp.test(value); 21 }, 22 chkEmail : function (value) { 23 var emailExp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i; 24 return emailExp.test(value); 25 } 26};
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.