PageSourceSearch

https://www.mobime.ru/app/js/signin.js

js mobime.ru collected 2026-10-02 06:25:17 UTC 1,829 bytes, 69 lines download raw bytes

1function selectBrend(id, tid) {
2    var o = $('#' + tid).html('<select disabled="on"><option>Загрузка моделей телефонов...</option></select>');
3    $.ajax({
4        url: '/profile/getmodels.html?id=' + id,
5        success: function (s) {
6            o.html(s || "ошибка получения данных");
7        }
8    });
9}
10
11function selectCountry(e) {
12    $(e).attr('disable', 'disabled');
13    var r = $('#idRegion').html('');
14    $('#idCity').html('');
15    $.ajax({
16        url: '/profile/getregions.html',
17        type: 'post',
18        data: {id: e.value},
19        success: function (s) {
20            r.html(s);
21        },
22        complete: function () {
23            $(e).attr('disable', '');
24        }
25    });
26}
27
28function selectRegion(e) {
29    $(e).attr('disable', 'disabled');
30    var c = $('#idCity').html('');
31    $.ajax({
32        url: '/profile/getcities.html',
33        type: 'post',
34        data: {id: e.value},
35        success: function (s) {
36            c.html(s);
37        },
38        complete: function () {
39            $(e).attr('disable', 'disabled');
40        }
41    });
42}
43
44function signinObserv(id, url, idcheck) {
45    var id = $('#' + id);
46    var idcheck = $('#' + idcheck);
47
48    idcheck.html('');
49
50    $.ajax({
51        url: url + id.val(),
52        success: function (s) {
53            idcheck.html('<br>' + s);
54        },
55        error: function () {
56            idcheck.html('<br>ошибка проверки');
57        }
58    });
59
60
61}
62
63$(function () {
64    signinObserv('idlogin', '/signin/checklogin.html?s=', 'idCheckLogin');
65    signinObserv('idemail', '/signin/checkemail.html?s=', 'idCheckEmail');
66
67    signinObserv('idloginlogin', '/signin/checklogin.html?login=1&s=', 'idCheckLogin');
68    signinObserv('idemaillogin', '/signin/checkemail.html?login=1&s=', 'idCheckEmail');
69});

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.