Test Case Boilerplate

Fork this way...

HTML

<html>
    <body>
        <a href = "#" class = 'proxy_link'>This link should trigger the google.com link below</a>
        <p></p>
        <a href = "http://google.com" id = "google_link">This link goes directly to google</a>
    </body>
</html>

JavaScript

$(document).ready(

function() {

    $("#google_link").click(function(evt) {
        console.debug("the google link click event has been triggered");
        return true;
    }
    );

    $(".proxy_link").click(function(evt) {
        console.debug("the proxy_link has been clicked");
        $("#google_link").click();
        console.debug("but the link to http://google.com has not been followed");
    }
    );                                  
});