Force Link to Click on Object Click

by helpinspireme

HTML

<div class="event_panel">CLICK ME <br><br><a href="http://www.google.com" target="_blank">Here</a></div>

JavaScript

$('.event_panel a').bind('click', function(){
       var url = $(this;
    });
    
    // click to the post
    $('.event_panel').live('click', function(){
        $(this).find('a').trigger('click');
        console.log('click');
        return false;
    });