Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Bootstrap Time Picker

$
0
0

I am using this below :

             

in Cab request Tool,In which Time control(Bootstarp Time picker) not allowing user to book time 2 hours before from current time.

 $(function () {  
                $('#pickTime').datetimepicker({
ignoreReadonly: true,
                    format: 'LT'
                });
            });

I want that if user if entering time then he is not able to select till 2 hours before current time.

That is he can select pick Time before 2 hours only from current time.Because Cab Team needs 2 hours to booking process.

Example current time is 10:24am then user enable time is till 8:24 ,



Shiv Sharma



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>