I have a datepicker which allows you to pick the date. Once this date is picked, I need my select dropdown to be populated with dynamic time data. Pretty much, I am building an online ordering service. once you select the date, it will give you time intervals within that date selected of when you can come and pick up your order from store. those timeframes are based on the store's business hours. How can I achieve this? This is what I have so far.
This is my view:
Diagnostic.nuspec
Here is my controller:
<file src="*.dll" ..."
So as you can see there is an action in my controller that will go through and pick the times for whatever day of the week is selected. How can I call this action into my view? and then, how can I populate my select drop down with the times for that day? Any help is appreciated! :)
UPDATE!!! I updated my view with an ajax call but it keeps returning an error. Does that mean it is not hitting this method in the controller?