How can i add a clear button to the datetimepicker addon. I was thinking of replacing the done button with a clear button.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create your button in HTML with a unique ID. In jQuery write this…
On click it will clear the value of whatever element you specify in the function. You can clear more elements by just duplicating the second line of code in the function for more selectors.