109
rated 0 times
[
111]
[
2]
/ answers: 1 / hits: 15306
/ 13 Years ago, sat, june 25, 2011, 12:00:00
How can i alert the selected days name? Example 'Monday'.
So when you pick 7th june 2011 it will alert Tuesday
<script>
$(function() {
$( #date ).datepicker({
dateFormat: 'dd/mm/yy',
onSelect: function(dateText, inst) {
// how can i grab the day name of the day, example Monday and alert it out?
// alert( ? );
}
});
});
</script>
More From » jquery