$('button', $('#world tr').click(function(){
        // Do stuff for #world tr onclick
    })).click(function(e){
    e.stopImmediatePropagation();
    return true;
});

On Apr 2, 4:14 pm, Thierry <lamthie...@gmail.com> wrote:
> I have the following structure for tr:
>
> <tr id="world">
>    <td></td>
>    <td></td>
>    <td>
>       <input type="button" name="hello" value="hello" />
>    </td>
> </tr>
>
> I also have the following javascript:
>
> $("#world tr").click(function() {
>    // do stuffs
>
> });
>
> Is there a way to prevent the above event from triggering when the
> hello button is clicked?

Reply via email to