PageSourceSearch

https://ingeniumbooks.com/wp-content/plugins/wp-maintenance-mode-s…/assets/js/contactform.js

js ingeniumbooks.com collected 2026-10-02 14:56:34 UTC 1,226 bytes, 55 lines download raw bytes

1jQuery(document).ready(function($) {�
2	$('#contactbutton').click(function(event) {�
3		event.preventDefault();�
4		$('#contact-msg').html('<div class="lds-ripple"><div></div><div></div></div> ');�
5		var message = $('#message').val();�
6		var name = $('#name').val();�
7		var email = $('#email').val();�
8		�
9		if(name.trim() == ''){�
10            check=false;�
11			$('#contact-msg').html("");�
12			return false;�
13        }�
14 �
15�
16        if(email.trim().match(/^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{1,5}|[0-9]{1,3})(\]?)$/) == null) {�
17            check=false;�
18			$('#contact-msg').html("");�
19			return false;�
20        }�
21�
22        if(message.trim() == ''){�
23            check=false;�
24			$('#contact-msg').html("");�
25			return false;�
26        }�
27�
28�
29	�
30�
31			$.ajax({�
32				type: 'POST',�
33				url: ajax_object.ajax_url,�
34				data: $('#contactform').serialize(),�
35				dataType: 'json',�
36					success: function(response) {�
37						if (response.status == 'success') {�
38							$('#contactform')[0].reset();�
39						}�
40						$('#contact-msg').html(response.errmessage);�
41					}�
42			});�
43					�
44				�
45		�
46	});�
47});�
48�
49�
50�
51�
52�
53�
54�
55�

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.