PageSourceSearch

https://www.jsx.net.br/contato/contato.js

js jsx.net.br collected 2026-10-08 07:26:15 UTC 1,215 bytes, 41 lines download raw bytes

1// Ian contato
2$(function() {
3	$('#formContato').submit(function() {
4        var dados = $(this).serialize();
5        _loader = $('.retorno'); //Div de carregamento
6        // ajax
7        $.ajax({
8            url: "contato/contato.php",
9            type: 'POST',
10            dataType: 'HTML',
11            data: dados ,
12            beforeSend: function(){
13                // addClass Carregando
14                //_loader.show();
15                //_loader.find('p.carregando').show();
16            },
17            success: function(data, status) { 
18                // escrevendo o texto enviando a mensagem
19                _loader.find('.retorno').hide();
20                $('.retorno').show();
21                setTimeout(function(){
22                    // remove o load antigo
23                    _loader.fadeOut(100);
24                    _loader.find('.retorno').fadeOut(100);
25                    // limpa os campos
26                    $('#formContato').each(function() {
27                        this.reset();
28                    });
29                },5000);
30
31            
32            },
33            error: function(error) {
34                alert('Error!')
35            }
36        })
37
38
39        return false;
40    });
41});

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.