diff --git a/sample-json-data.txt b/sample-json-data.txt new file mode 100644 --- /dev/null +++ b/sample-json-data.txt @@ -0,0 +1,1 @@ +["ART-1100","CS-1210","CS3410","EDEC-2100","COM-1100","ACCT-2110","BEBL-2510"] diff --git a/scripts/scheduleInput.js b/scripts/scheduleInput.js --- a/scripts/scheduleInput.js +++ b/scripts/scheduleInput.js @@ -142,7 +142,7 @@ sectionsOfClass[classNum] = 0; // This is class 0, initialize at 0 jQuery('#jsrows').append('
'); jQuery('.className' + classNum).autocomplete({ - source: "test.txt" + source: "sample-json-data.txt" }); classNum++; }; diff --git a/test.txt b/test.txt deleted file mode 100644 --- a/test.txt +++ /dev/null @@ -1,1 +0,0 @@ -["ART-1100","CS-1210","CS3410","EDEC-2100","COM-1100","ACCT-2110","BEBL-2510"]