1 2 3$("#form2").validate({ 4 groups: { 5 tel: "customer_tel_left customer_tel_center customer_tel_right" 6 }, 7 groups: { 8 addcode: "customer_postno_left customer_postno_right" 9 } 10 }) 11 12 13 14$(function(){ 15 var container = $('div.container'); 16 // validate the form when it is submitted 17 var validator = $("#form2").validate({ 18 errorContainer: container, 19 errorLabelContainer: $("ol", container), 20 wrapper: 'li', 21 meta: "validate" 22 }); 23 24 $(".cancel").click(function() { 25 validator.resetForm(); 26 }); 27}); 28 29 30 31 32$(function(){ 33 $('input[type=text],textarea').focus(function(){ 34 $(this).addClass('focus'); 35 }).blur(function(){ 36 $(this).removeClass('focus'); 37 }); 38});
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.