Closed GoogleCodeExporter closed 8 years ago
This is my code
$('#multimonth-new').datePickerMultiMonth({
numMonths: 4,
inline: true,
selectMultiple:true
}).bind('dateSelected',function(e, selectedDate, $td, state){
var date = new Date(selectedDate);
var dia = (date.getYear()+1900)+"-"+ (date.getMonth()+1) +"-"+ date.getDate();
if(state){
$('.dias-new').append("<span id='dia' class="+dia+">"+dia+"</span>");
}else{
$('.'+dia).remove();
}
}
);
});
Original comment by marianon...@gmail.com
on 13 Jul 2012 at 1:56
You can use .dpmmSetSelected like in this example
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerMultiMonth4
.html
Original comment by kel...@kelvinluck.com
on 13 Jul 2012 at 2:30
Original comment by kelvin.l...@gmail.com
on 13 Jul 2012 at 2:30
thanks, i did it. :D
Original comment by marianon...@gmail.com
on 13 Jul 2012 at 3:08
Original issue reported on code.google.com by
marianon...@gmail.com
on 13 Jul 2012 at 1:52