previously I have successfully sent data using ajax. and I have a select input that automatically fetches data from the database that has been sent using ajax. for the first