day-schedule-selector
day-schedule-selector copied to clipboard
Advice how to implement
I trying to populate the table via a websocket...
my issues is when I put the code that parses the incoming json
$("#day-schedule").data('artsy.dayScheduleSelector').deserialize({
//'0': [['09:30', '11:00'], ['13:00', '16:30']]
//'1': [['09:00', '11:00'], ['13:00', '16:00']]
[parsing]
});
I get unexpected ; error with the code with the code intersted there I think Im doing it wronge, how would I be able to implement this?
Thanks.
'1' : [['12:00'], ['18:00']],
'3' : [['10:00'], ['15:00'], ['16:00'], ['21:00']],
'5' : [['11:00'], ['17:00']]