im trying to trigger a click event on a link on the page load. im currently working on this code here http://jsfiddle.net/QPPbA/
$(document).ready(function(){
$('#trigger-me').trigger('click');
});
<a href="http://www.stackoverflow.com" target="_blank" id="trigger-me">trigger hidden</a>
but it does not work. what im i missing here?
EDIT
I would like to trigger a thickbox on page load, i got some code but it only shows the black "tint".. so i thougth i would trigger it like this but this way does not work either.. any suggestions?
It hasn't got a click event...
update: jsfiddle