PageSourceSearch

https://calorioapp.com/js/contactform.js

js calorioapp.com collected 2026-10-02 00:15:40 UTC 1,004 bytes, 39 lines download raw bytes

1$(document).ready(function(){
2    'use strict';
3
4    /**
5     * Event on submit
6     */
7    $('#contactform button').click(function(){
8        $('#contactform').submit();
9        return false;
10    });
11
12    /**
13     * Event contactform formhandler
14     */
15    $('#contactform').submit(function(){
16        var button = $('#contactform button');
17        var defaultValueButton = button.html();
18
19        button.css('width', button.css('width'));
20        button.html('...');
21        button.prop('disabled', true);
22
23        $.post($('#contactform').attr('action'), $(this).serialize(), function(response){
24            if (response.successful === true) {
25                $('#contact-form-div').hide();
26                $('#success-message').show();
27            } else {
28                //
29            }
30        }).fail(function(){
31            //
32        }).always(function(){
33            button.prop('disabled', false);
34            button.html(defaultValueButton);
35        });
36
37        return false;
38    });
39});

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.