how to reset date input in javascript code example Example: reset date input javascript $("input[type=date]").val("")