PageSourceSearch

https://www.scheduleanyone.com/site/assets/js/contactus.js

js scheduleanyone.com collected 2026-09-24 10:56:18 UTC 2,111 bytes, 49 lines download raw bytes

1$('.contact-us-form-submit').submit(function() {
2    var $form		= $(this);
3    var submitData	= $form.serialize();
4    var $email		= $form.find('input[name="email"]');
5    var $name		= $form.find('input[name="name"]');
6    var $message	= $form.find('textarea[name="message"]');
7    var $phone	= $form.find('input[name="phone"]');
8    var $business	= $form.find('input[name="business"]');
9    var $submit		= $form.find('input[name="submit"]');
10    var $dataStatus	= $form.find('.data-status');
11    
12    $email.attr('disabled', 'disabled');
13    $name.attr('disabled', 'disabled');
14    $phone.attr('disabled', 'disabled');
15    $business.attr('disabled', 'disabled');
16    $message.attr('disabled', 'disabled');
17    $submit.attr('disabled', 'disabled');
18    
19    $dataStatus.show().html('<div class="alert alert-info"><strong>Loading...</strong></div>');
20    
21    $.ajax({ // Send an offer process with AJAX
22        type: 'POST',
23        url: 'https://www.scheduleanyone.com/log/SaveFeedback',
24        data: submitData + '&action=contact-us-form',
25        dataType: 'html',
26        success: function(msg){
27            if (msg) {
28                if (msg.includes('Thank you for contacting us')) {
29                    $email.val('').removeAttr('disabled');
30                    $name.val('').removeAttr('disabled');
31                    $message.val('').removeAttr('disabled');
32                    $submit.removeAttr('disabled');
33                    $dataStatus.html('Thank you for contacting us').fadeIn();
34                } else {
35                    $email.removeAttr('disabled');
36                    $name.removeAttr('disabled');
37                    $message.removeAttr('disabled');
38                    $phone.removeAttr('disabled', 'disabled');
39                    $business.removeAttr('disabled', 'disabled');                    
40                    $submit.removeAttr('disabled');
41                    $dataStatus.html('Error submitting form. Please call us at 800-314-9177.').fadeIn();
42                }
43            }
44        }
45    });
46    
47    return false;
48});
49

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.