Home Gitesh Portfolio Blog About Me Gallery Contact
Kentico Certified Developer

Trigger a Click or function automatically

This should be on the end of the page

<script>
$("#IDNAME").click(function() {
   window.location = $(this).attr("href");
});
 
$("#IDNAME").trigger('click');
</script>
 


Posted: 22/04/2013 8:22:14 p.m. by Gitesh Shah | with 0 comments