The function takes in two select ids. Each select contains values that are date/times and look like this in html:
3/4/2013 11:09:00 AM EST
3/4/2013 12:09:00 PM EST
3/4/2013 1:09:00 PM EST
3/4/2013 2:09:00 PM EST
If I select 3/4/2013 1:09:00 PM EST for instance, the values in select2 that are less than 3/4/2013 1:09:00 PM EST will automatically disappear, and the value that has the closest value to 3/4/2013 1:09:00 PM EST without going over will be the newly selected option select2. If I then select an earlier date for select1, the values in select2 then reset themselves based on the newest date selected in select1.
Hi, I have read your req, and ready to help you create a jquery function, so it will modify the second select list based on the selection of the first select list like you describe. Please check pmb for detail.