i using multiple dates picker v1.6.1. want grab values in array [picked] , produce table values array onclick.
when hover on picked in dubug mode in firebug:
var min_date = this.multidatespicker.dates.picked[0], it seems store dates (i think array?):
[ date { thur may 09 2013 00:00:00 gmt+0100 (gmt daylight time) }, date { fri may 10 2013 00:00:00 gmt+0100 (gmt daylight time) } ] my question how can display contents of day month date , year in following format "day date month year" outputting table similar this:
dates available | price | availability thur 09 may 2013 £1500 available here have tried far output array:
$(function() { var html = '<table><tr>'; (var = 0; < 6; i++) { // each entry if (i == 3) { // start of next row html += '</tr><tr>'; // add row separator } // add date in cell html += '<td>data[i].id'></td>'; } html += '</tr></table>'; // finish $('body').append(html); // , add document });
Comments
Post a Comment