Please view the fiddle here.
I have a text box that inputs a date (in the format 12/11/2015) directly into the 'msg' placeholder of a paragraph.
The date displays just fine. But, I'm trying to get it to display in the following format -
$("#get").click(function (e) {
e.preventDefault();
$('#msg').html( $('input:text').val());
dateFormat: 'DD, MM d'
});
So, inputting today's date, as 12/11/2015 would yield a result of Friday, December 11
...but it's not working.
Where am I going wrong?