Hi Paul,
> Try this
>
> var xxx = 5;
> $('input:attr[value="'+xxx+'"]').parents('tr').remove();
works like a charm. Thanks 1K
Hi,
Try this
var xxx = 5;
$('input:attr[value="'+xxx+'"]').parents('tr').remove();
Paul
On May 11, 8:37 pm, Massimiliano Marini wrote:
> Sorry,
>
> the right question is:
>
> How can I remove the entirely row containing the checkbox with the value for
> example 5?
>
> The value is returned to
Sorry,
the right question is:
How can I remove the entirely row containing the checkbox with the value for
example 5?
The value is returned to me by a PHP script, and of course is always different.
foo
foo2
foo2
function removebox(value) {
var obj = $(".mouseOver input");
for(var i = 0; i < obj.length; i++) {
if(obj.eq(i).attr("value") == 5) {
obj.eq(i).remove();
break;
}
}
}
On Mon, May 11, 2009 at 11:03 PM, m...@linuxtime.it wrote:
>
> Hi all,
>
> how do I remove a row of a table by knowing the valu
4 matches
Mail list logo