Call us on +91 98255 21600 or Book an Appointment here

Book an Appointment

Book an Appointment

Name* :
Email* :
Phone*
Appointment For*
Area Preferred*
Date (dd/mm/yy)
var myControl=  {
                            create: function(tp_inst, obj, unit, val, min, max, step){
                            $('<input class="ui-timepicker-input" value="'+val+'" style="width:50%">')
                            .appendTo(obj)
                            .spinner({
                            min: min,
                            max: max,
                            step: step,
                            change: function(e,ui){ // key events
                                // don't call if api was used and not key press
                                if(e.originalEvent !== undefined)
                                    tp_inst._onTimeChange();
                                tp_inst._onSelectHandler();
                            },
                            spin: function(e,ui){ // spin events
                                tp_inst.control.value(tp_inst, obj, unit, ui.value);
                                tp_inst._onTimeChange();
                                tp_inst._onSelectHandler();
                            }
                            });
                            return obj;
                            },
                            options: function(tp_inst, obj, unit, opts, val){
                            if(typeof(opts) == 'string' && val !== undefined)
                            return obj.find('.ui-timepicker-input').spinner(opts, val);
                            return obj.find('.ui-timepicker-input').spinner(opts);
                            },
                            value: function(tp_inst, obj, unit, val){
                            if(val !== undefined)
                            return obj.find('.ui-timepicker-input').spinner('value', val);
                            return obj.find('.ui-timepicker-input').spinner('value');
                            }
                            };
                            
                            $('#slider_example_5').datetimepicker({
                            controlType: myControl
                    });