I rushed a bit in writing the html, the id should correspond to the
table and not the tr. The is("button") didn't work but is("input") is
getting what I wanted, thanks for the help.
On Apr 2, 5:55 pm, "Richard D. Worth" wrote:
> On Thu, Apr 2, 2009 at 4:14 PM, Thierry wrote:
>
> > I have the f
On Thu, Apr 2, 2009 at 4:14 PM, Thierry wrote:
>
> I have the following structure for tr:
>
>
>
>
>
>
>
>
>
> I also have the following javascript:
>
> $("#world tr").click(function() {
> // do stuffs
> });
this selector doesn't seem to match your html, as it reads "all TR
$("#world tr").click(function() {
// do stuffs
});
Is there a way to prevent the above event from triggering when the
hello button is clicked?
$("#world tr").click(function() {
$('input[name="hello"]').attr('disabled', 'disa
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 i
$('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 wrote:
> I have the following structure for tr:
>
>
>
>
>
>
>
>
>
> I also
5 matches
Mail list logo