Home › Forums › JavaScript › Opening a thickbox via onclick? › Re: Opening a thickbox via onclick?
February 26, 2009 at 12:30 pm
#54348
davesgonebananas
Member
tb_init should be called when the page loads so in your code it would be
Code:
$(document).ready(function() {
tb_init(‘table#test td’);
});
tb_init(‘table#test td’);
});
That would make any td inside the table with id test a thickbox target.