<div class="imgtumb"><img src="..."></div>
    <a href="toBigImg" class="imgtarget">sometext</a>
    <script>
        $(document).ready(function() {
            $('div.imgtumb img').click(function() {
            $('a.imgtarget').click();
            });
        });
    </script>
The link not work (dont open a big image). What i do wrong?
----Edited---- Thank you guys, but .trigger() is not working too. I resolved this problem something like this:
$(document).ready(function() {
            $('div.imgtumb img').click(function() {
            window.location.href = $('a.imgtarget').attr("href");
            });
        });
----Edited 2--- Question which explained why .click() is not working with a tag
 
     
     
     
    