PageSourceSearch

https://www.2290truck.com/static/js/main.js?v=1.1

js 2290truck.com collected 2026-09-29 05:15:02 UTC 1,366 bytes, 34 lines download raw bytes

1// Month First Used Form Field Dynamic Update
2// Dependent on the Tax Year Chosen
3$(document).ready(function() {
4  function updateMonth() {
5    $("#id_month_first_used").empty();
6    $("#id_month_first_used").append('<option value="">-- Select Month First Used --</option>');
7    $("#id_month_amended").empty();
8    $("#id_month_amended").append('<option value="">-- Select Month Amended --</option>');
9
10    tax_year_val = $("#id_tax_year").val();
11
12    if (tax_year_val != "") {
13      start_date = moment(tax_year_val + "-01");
14      end_date = moment({year: start_date.year() + 1, month: 5, day: 1});
15
16      while (start_date <= end_date) {
17        console.log(start_date.toString());
18        $("#id_month_first_used").append('<option value="' + start_date.format("YYYY-MM") + '">' + start_date.format("MMM YYYY") + '</option>');
19        $("#id_month_amended").append('<option value="' + start_date.format("YYYY-MM") + '">' + start_date.format("MMM YYYY") + '</option>');
20        start_date = start_date.set('date', 15).add(30, 'days').set('date', 1);
21      }
22    }
23  }
24
25  $("#id_tax_year").change(function() {
26    updateMonth();
27  });
28
29  // Input Masking
30  $(".ein input").inputmask("99-9999999");
31  $(".tel input").inputmask("(999) 999-9999");
32  $(".date input").inputmask("99/99/9999", { "placeholder": "MM/DD/YYYY" });
33  $(".pin input").inputmask("99999");
34});

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.