How do I make a date input masked (hidden) without using a plugin, as followed:
Formating:YYYY/MM/DD = showing in the input as => ____/__/__
This is my code that doesn't work:
I want to mask a date input to mm/dd/yyyy. When the form submits, i want to convert that to YYYY-MM-DD for mysql.
Would it be best to change the value of the ...