Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fromtime = obj[i].FromTime; // Here fromtime gives id of a column not index
- var totime = obj[i].totime; // Here totime gives id of a column not index
- $(row1).children('td').slice(fromtime,totime).not('td:eq(0)').not('td:eq(0)').css({ "background-color": workcolor });
Add Comment
Please, Sign In to add comment