You can use this <input type="date" id="ExpenseDate" oninput="ShowExLORE()" maxlength="100" class="form-control" />