Last post Mar 10, 2016 10:02 PM by Dan5
Mar 10, 2016 09:31 AM|Dan5|LINK
I am looking for a jquery time picker, that also has the functionality to prevent users from picking times that have already passed for that day.
So say for example the time is 11.15, then the times before that are greyed out. Does anyone have any suggestions?
Mar 10, 2016 10:44 AM|jimmy69|LINK
If i well understand you try to disable some range of time ? is it true ?
Looks at this sample :
disable time range
Hope this help
Mar 10, 2016 11:43 AM|Dan5|LINK
Thanks for the reply Jimmy, I do not want to disable manually, the idea is that its done automatically. The picker will determine the actual current time, and prevent users from selecting times that have already gone. I hope this makes sense.
Mar 10, 2016 12:12 PM|jimmy69|LINK
Looks perhpas at this sample :
search on sample after this sentence :
" Time picker with restricted (disabled) hours / minutes. 8:30 PM to 6:30 AM disabled "
you 'll find the code and after you can adapt to your solution i hope ...
i've work a little with jquery datetpicker disable date pass but never with disable time ..
hope this help
Mar 10, 2016 10:02 PM|Dan5|LINK
Thanks Jimmy, your help is appreciated.