PageSourceSearch

http://print-cip.ru/wp-content/themes/simplecorp/library/js/contactform/contactform.js?ver=1.0

js print-cip.ru collected 2026-10-05 00:32:44 UTC 1,011 bytes, 31 lines download raw bytes

1$j = jQuery.noConflict();
2		$j(document).ready(function(){
3	$j('form#contactForm').submit(function() {
4		$j('form#contactForm .error').css({"display":"none"});
5		var hasError = false;
6		$j('.requiredField').each(function() {
7			if(jQuery.trim($j(this).val()) == '') {
8				var labelText = $j(this).prev('label').text();
9				$j(this).parent().find('.error').css({"display":"block"});
10				hasError = true;
11			} else if($j(this).hasClass('email')) {
12				var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
13				if(!emailReg.test(jQuery.trim($j(this).val()))) {
14					var labelText = $j(this).prev('label').text();
15					$j(this).parent().find('.error').css({"display":"block"});
16					hasError = true;
17				}
18			}
19		});
20		if(!hasError) {
21			var formInput = $j(this).serialize();
22			$j.post($j(this).attr('action'),formInput, function(data){
23				$j('form#contactForm').slideUp("fast", function() {
24					$j('.thanks').css({"display":"block"});
25				});
26			});
27		}
28		  return false;
29
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.