diff --git a/.gitignore b/.gitignore index 782bf015e37..0bad67699c8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ src/VAERS/ src/config/ src/results/ data/*.xlsx +data/*.html diff --git a/batchCodeTable.html b/batchCodeTable.html index 8e8026f5380..60736fb0884 100644 --- a/batchCodeTable.html +++ b/batchCodeTable.html @@ -34,16 +34,17 @@ } function loadBatchCodeTable(file, searchPlaceholder) { - $("#batchCodeTableWrapper").load(file, function () { - $('#batchCodeTable').DataTable({ - language: { - searchPlaceholder: searchPlaceholder - }, - search: { - return: false - }, - "order": [[1, "desc"]] - }); + $('#batchCodeTable').DataTable({ + ajax: file, + language: { + searchPlaceholder: searchPlaceholder + }, + search: { + return: false + }, + processing: true, + deferRender: true, + order: [[1, "desc"]] }); } @@ -51,7 +52,7 @@ const { company, companyName, title } = getSearchParams(); document.title = title; replaceCssClassesWithStrs({ title, companyName }); - loadBatchCodeTable("data/" + company + ".html", "Enter " + companyName + " Batch Code"); + loadBatchCodeTable("data/" + company + ".json", "Enter " + companyName + " Batch Code"); }); @@ -62,8 +63,17 @@
Check out your batch code (last updated 11th February 2022) -
- +| VAX_LOT | +ADRs | +DEATHS | +DISABILITIES | +LIFE THREATENING ILLNESSES | +
|---|