javascript - Input type=date format in HTML -
i use input type=date below datetime screen in html. input date format mm/dd/yyyy
wanna change dd/mm/yyyy
.
how can that?
<input type="date" value="' + today + '" class="date" id="datepicker" style="width:30%" min="25-10-1900" max="25-10-2100" />
ps: use code below, doesn't work. (where should call function?)
jquery(function ($) { $("#datepicker").mask("99/99/9999", { placeholder: "dd/mm/yyyy" }); });
Comments
Post a Comment