Ive been trying to take a user input from the dropdown list and update it to the backend through controller.i will explain my code below,
JS
$(documen