Jquery - Div with link inside and jq.click() function
Is it possible to disable the jquery click when a href link (inside the clickable div) was clicked?


**HTML**

    <div id="test">
        <a href="http://google.de">google</a>
    </div>

**JS**

    $(document).ready(function()
    {
        $('#test').click(function() {
            alert('the link was not clicked'); 
        });
    });


**example**<br />
http://jsfiddle.net/QHQcQ/2/


Jquery - Div with link inside and jq.click() function
===

Is it possible to disable the jquery click when a href link (inside the clickable div) was clicked?


**HTML**

    <div id="test">
        <a href="http://google.de">google</a>
    </div>

**JS**

    $(document).ready(function()
    {
        $('#test').click(function() {
            alert('the link was not clicked'); 
        });
    });


**example**<br />
http://jsfiddle.net/QHQcQ/2/

