Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Opening a thickbox via onclick? Re: Opening a thickbox via onclick?

#54348

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’);
});

That would make any td inside the table with id test a thickbox target.