I want to launch a jquery thickbox onload
instead of click. for this I use the code below.
<script language="javascript">
tb_show("HAI","#TB_inline?height=240&width=405&inlineId=hiddenModalContent&modal=true",null);
</script>
Actual link is
<a href="#TB_inline?height=240&width=405&inlineId=hiddenModalContent&
amp;modal=true" class="thickbox">Change Name</a>
When I click the above link..thick box appears..
but on body onload thick box is not appearing..
Please help regarding this..
Thanks in advance...
regards Yen
Your code should work. Maybe try putting it in a call to jQuery's document.ready e.g.
<script language="javascript">
$(document).ready(function() {
tb_show("HAI","#TB_inline?height=240&width=405&inlineId=hiddenModalContent&modal=true",null);
});
</script>