“JQUERY DATEPicker Change Date Format” Réponses codées

JQUERY DATEPicker Change Date Format

$("your-id-name-here").datepicker({
 	dateFormat: 'dd-mm-yy'
});
Alert Ant

JQUERY DATEPicker Change Date Format

//Bootstrap datepicker change date format solution , Jquery datepicker is under this solution
If by ID: just change "#datepicker" to your input field id
$('#datepicker').datepicker({
    format: 'dd/mm/yyyy'
});

If by Class: just change "#datepicker" to your input field class
$('.datepicker').datepicker({
    format: 'dd/mm/yyyy'
});

//jquery datepicker change date format solution
just change "#datepicker" to your input field id
$("#datepicker").datepicker({
 	dateFormat: 'dd-mm-yy'
});
Beautiful Buzzard

Réponses similaires à “JQUERY DATEPicker Change Date Format”

Questions similaires à “JQUERY DATEPicker Change Date Format”

Plus de réponses similaires à “JQUERY DATEPicker Change Date Format” dans JavaScript

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code