3

I am not very good with codeigniter and javascript.But I dont even know if this is possible. Currently I working on dental appointment booking sytem for my final year project.

On the booking function, I have trouble to generate dropdown automatically that will list all the available timeslot based on the date selected by user.

But how do I make it to happen? I have try search some tutorial and question. I do found related answer it something involved with Ajax function but I really not familiar with it, and I am still stuck on it. Have anyone has any idea or any example that I can refer?

Please help me. Thank you :'(

1 Answer 1

1

As you have figured out you have to use ajax here. What you can do is use an onchange event listener in your dropdown and do an ajax call with the selected value which would return the required result. How to do it, you hove to find that yourself. Google is your friend.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.