The behaviour is the same as before, are there any other suggestions?
I have a partial solution where I add a class to each of the td except
for the one containing the input and run the selector on that class.
It runs as expected but nothing happens when just the table cell is
pressed around the input button.

On Apr 2, 4:41 pm, Eric Garside <gars...@gmail.com> wrote:
> $('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