PageSourceSearch

https://womensjobboard.net/js/contact.js

js womensjobboard.net collected 2026-10-08 01:11:31 UTC 1,492 bytes, 59 lines download raw bytes

1$(function() {
2	// Validate the contact form
3  $('#contactform').validate({
4  	// Specify what the errors should look like
5  	// when they are dynamically added to the form
6  	errorElement: "label",
7  	wrapper: "td",
8  	errorPlacement: function(error, element) {
9  		error.insertBefore( element.parent().parent() );
10  		error.wrap("<tr class='error'></tr>");
11  		$("<td></td>").insertBefore(error);
12  	},
13  	
14  	// Add requirements to each of the fields
15  	rules: {
16  		name: {
17  			required: true,
18  			minlength: 2
19  		},
20  		email: {
21  			required: true,
22  			email: true
23  		},
24  		message: {
25  			required: true,
26  			minlength: 10
27  		}
28  	},
29  	
30  	// Specify what error messages to display
31  	// when the user does something horrid
32  	messages: {
33  		name: {
34  			required: "Please enter your name.",
35  			minlength: jQuery.format("At least {0} characters required.")
36  		},
37  		email: {
38  			required: "Please enter your email.",
39  			email: "Please enter a valid email."
40  		},
41  		message: {
42  			required: "Please enter a message.",
43  			minlength: jQuery.format("At least {0} characters required.")
44  		}
45  	},
46  	
47  	// Use Ajax to send everything to processForm.php
48  	submitHandler: function(form) {
49  		$("#send").attr("value", "Sending...");
50  		$(form).ajaxSubmit({
51  			success: function(responseText, statusText, xhr, $form) {
52  				$(form).slideUp("fast");
53  				$("#response").html(responseText).hide().slideDown("fast");
54  			}
55  		});
56  		return false;
57  	}
58  });
59});

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.