Home  >  Q&A  >  body text

javascript - jquery-ui-timepicker-zh-CN How to remove hours, minutes, seconds and position at the bottom of the input box, wait online urgently, anyone who knows can teach me, thank you

The problem is as shown

曾经蜡笔没有小新曾经蜡笔没有小新2681 days ago436

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-19 10:24:03

    Look at the official website and just follow the instructions. Official case

    var startDateTextBox = $('#range_example_4_start');
    var endDateTextBox = $('#range_example_4_end');
    
    $.timepicker.dateRange(
        startDateTextBox,
        endDateTextBox,
        {
            minInterval: (1000*60*60*24*4), // 4 days
            maxInterval: (1000*60*60*24*8), // 8 days
            start: {}, // start picker options
            end: {} // end picker options
        }
    );
    

    reply
    0
  • Cancelreply