Skip to content
Snippets Groups Projects
Commit a4c0a146 authored by yazSpaz's avatar yazSpaz
Browse files

made filter drop downs disable

parent 1ebd3993
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,8 @@ $(document).ready(function () {
testDropdown.prop("disabled", true).html('<option value="" disabled selected></option>');
questionsDropdown.prop("disabled", true).html('<option value="" disabled selected></option>');
studentsDropdown.prop("disabled", true).html('<option value="" disabled selected></option>');
difficultyDropdown.prop("disabled", true);
objectiveDropdown.prop("disabled", true);
$(".selectpicker").selectpicker('refresh');
// **CLEAR TABLE ENTRIES** before loading new data
studentResultTable.clear().draw();
......@@ -167,6 +169,8 @@ $(document).ready(function () {
testDropdown.prop("disabled", true).html('<option value="" disabled selected>Select a Test</option>');
questionsDropdown.prop("disabled", true).html('<option value="" disabled selected></option>');
studentsDropdown.prop("disabled", true).html('<option value="" disabled selected></option>');
difficultyDropdown.prop("disabled", true);
objectiveDropdown.prop("disabled", true);
// **CLEAR TABLE ENTRIES** before loading new data
studentResultTable.clear().draw();
$("#difficulty").prop("disabled", true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment