How do I pass the date range selected in the daterangepicker to a variable or back to my input textbox in javascript?
问题 My javascript below using preset ranges for DateRangePicker - I need to pass the selected start and end dates to two variables call StartDate and EndDate or pass it back to my LogiXML input text box. I am not sure how to do this. Please help. Note: I don't want to run the daterangepicker logic for two different input fields(from and to). I want to use one input field but the start and end dates are passed to two separate variables. I am using comiseo.daterangepicker please help me. $(document