PageSourceSearch

https://muabannhadatquynhon.com/wp-content/themes/batdongsan/core/js/metabox.js?ver=1.0

js muabannhadatquynhon.com collected 2026-09-30 23:11:47 UTC 1,995 bytes, 64 lines download raw bytes

1function dataAddress(){
2  var tinh = jQuery('#acf-tinh option:selected').text();
3  var huyen = jQuery('#acf-huyen option:selected').text() != '-- Lựa chọn --' ? jQuery('#acf-huyen option:selected').text() : '';
4  var xa = jQuery('#acf-xa option:selected').text() != '-- Lựa chọn --' ? jQuery('#acf-xa option:selected').text() : '';
5  var address = jQuery('#acf-address').val();
6  jQuery('#acf-address_full').val(address+', '+xa+', '+huyen+', '+tinh);
7  jQuery('.address-data').html(address+', '+xa+', '+huyen+', '+tinh);
8}
9jQuery(document).ready(function ($) {
10  $(document).on('change', '#acf-tinh', function(e) {
11    e.preventDefault();
12    var id = $(this).val();
13    $.ajax({
14      type: 'POST',
15      url: '/wp-admin/admin-ajax.php',
16      dataType: 'json',
17      data: {
18        'action' : 'QuanAction', 
19        'id': id,
20        'type': 'tp'
21      },
22      beforeSend: function () {
23        $('.load-ajax').css('display', 'flex');
24      },
25      success: function (data) {
26        $('.load-ajax').hide();
27        $('#acf-huyen').html(data.data);
28        $('#acf-xa').html('<option value="">-- Lựa chọn --</option>');
29      },
30    });
31    $('.address-data').html('');
32    $('#acf-address').val('');
33  });
34  $(document).on('change', '#acf-huyen', function(e) {
35    e.preventDefault();
36    var id = $(this).val();
37    $.ajax({
38      type: 'POST',
39      url: '/wp-admin/admin-ajax.php',
40      dataType: 'json',
41      data: {
42        'action' : 'QuanAction', 
43        'id': id,
44        'type': 'huyen'
45      },
46      beforeSend: function () {
47        $('.load-ajax').css('display', 'flex');
48      },
49      success: function (data) {
50        $('.load-ajax').hide();
51        $('#acf-xa').html(data.data)
52      },
53    });
54    $('.address-data').html('');
55    $('#acf-address').val('');
56  });
57  $(document).on('change', '#acf-xa', function(e) {
58    $('.address-data').html('');
59    $('#acf-address').val('');
60  });
61  $('#acf-address').keyup(function (e) { 
62    dataAddress();
63  });
64})

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.