just wondering what im doing wrong, heads is an existing div and I am pretty sure this method should work to 🙁 ive tried giving a date manualy but it doesnt add anything to the div and it doesnt give an error either. Below is the code:
$('#datepicker').datepicker({
firstDay: 1,
dateFormat: "dd/mm/yy",
inline: true,
onSelect: function(dateText){
var datez = $.datepicker.parseDate('dd/mm/yy', dateText);
$('#heads').append(datez);
generatexml(dateText);
}
Any help would be appreciated 🙂
Thx in advance
Toon
It cannot append the object so you will need to convert it to a string: