how to control input type time in javascript code example Example: time picker html <input type="time">