1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10jQuery(function($) { 11 var errorContainer = $("<div class='error'>Validation errors occurred. Please confirm the fields and submit it again.</div>").appendTo("#commentform").hide(); 12 var errorLabelContainer = $("<div class='error errorlabels'></div>").appendTo("#commentform").hide(); 13 $("#commentform").validate({ 14 rules: { 15 author: "required", 16 email: { 17 required: true, 18 email: true 19 }, 20 url: "url", 21 comment: "required" 22 }, 23 errorContainer: errorContainer, 24 errorLabelContainer: errorLabelContainer, 25 ignore: ":hidden" 26 }); 27 $.validator.messages.required = ""; 28 $.validator.messages.email = "» " + $.validator.messages.email; 29 $.validator.messages.url = "» " + $.validator.messages.url; 30}); 31}
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.