I\'m using jQuery to edit the background-color of table cells. My code is as follows (the each cell has numbers in the format \"x/y\" so I mine them out at the star
background-color
Just trigger click event:
$(document).ready(function() { $("#overview td").click(function (event) { // ... }) .trigger('click'); });