I have implemented the buttons for set, cancel and clear in time picker.
However, I pushed the clear button and the current time was displayed.
I want to display the blank after selecting time in time picker.
var test = d_field.mobiscroll().time({
touchUi: scrollX ? true : false,
showOnTap: scrollX ? true : false,
showOnFocus: scrollX ? true : false,
timeFormat: 'HH:ii',
showLabel: scrollX ? true : false,
steps: {
minute: 15
},
buttons: [
'set',
'clear',
'cancel'
]
}).mobiscroll('getInst');
d_field.attr('readonly',false);
d_button.click(function () {
test.show();
return false;
});
d_field.mask('99:99');
}