PageSourceSearch

https://reservetaxi.com.au/assets/javascript/contact.js

js reservetaxi.com.au collected 2026-10-02 01:17:11 UTC 924 bytes, 33 lines download raw bytes

1$(function () {
2    
3    "use strict";
4
5    // init the validator
6    $('#ajax-contact').validator();
7
8    // when the form is submitted\
9    // TaxiOnline - Taxi Booking Landing Page Template
10    $('#ajax-contact').on('submit', function (e) {
11
12        // if the validator does not prevent form submit
13        if (!e.isDefaultPrevented()) {
14            var url = "assets/phpscripts/contact.html";
15
16            // POST values in the background the the script URL
17            $.ajax({
18                type: "POST",
19                url: url,
20                data: $(this).serialize(),
21                success: function (data)
22                {
23
24                    // data = JSON object that contact.php returns
25                    $( "#msgSubmit" ).removeClass( "hidden" );
26                    $('#ajax-contact')[0].reset();
27                    
28                }
29            });
30            return false;
31        }
32    })
33});

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.