[jQuery] newbie event trigger question

[jQuery] newbie event trigger question


OK, be gentle cuz I'm new to Events :)
I've got a anchor tag that links normally to a second page. And, I've
got another element, say, a DIV, that I want to define a click event
for , so that whenever the DIV is clicked it fires off the anchor
tag's click. something like this:
<a href="http://www.cnn.com" id="link_101">a link to CNN</a>
and this:
<div id="div_101" class="linkeddiv"> click me </div>
and then I tried something like this in document.ready() :
            $('.linkeddiv').click(function() {
                 var id = $(this).attr('id').split('_')[1];
                alert(id);
                 $('#link_'+id).trigger('click');
            });
that is, i grab from the div the commonality of the id that ties it to
the anchor (here, "101"), and it msut be right cuz the alert works as
it should, and then I want to call the anchor tag's click event.
But nothing happens. Hmm.