You can use the "map version" of the jQuery css method:
$(cell).css({'background-image': 'url("your-bg.png")', 'background-color': '#abcdef'});
But if you can (if the background image and color are always the same), use addClass , as karim79 told you.
p4bl0
source share