I need to enter the start date, start time, end date and end time in my asp.net MVC application. date fields are textbox and time fields are dropdown.
How can i fill the time dropdowns using jquery.?
Also i need to restrict the user to select the invalid time periods. For ex.: when the user selects 9:00 AM in start time dropdown, the end time should not be 08:00 AM of the same day. i.e. the user should not select the end time lesser than start time.