I have a simple link click simulation that I want to do using jquery. From what I've read, this should work, but the below code doesn't seem to work. Nothing happens if I do the same thing as a part of some other event or something either. Thoughts?
<script type="text/javascript">
$(function() {
$("#lnk_0").click();
});
</script>
<a id="lnk_0" href="http://mydomain.com/mypage.html">link</a>