Another variation, searching for the td, not for the class name.

$("#r2").parents().map( function(){
        if(this.tagName == "TD") {
                this.attr("rowspan", "1");
        }
});




El 18/11/2008, a las 10:28, Isaak Malik escribió:

> Forgot the dot:
>
> $('#r2').prevAll('.rsp2').attr("rowspan","1");
>
> On Tue, Nov 18, 2008 at 10:26 AM, andrea varnier <[EMAIL PROTECTED] 
> > wrote:
>
> On 18 Nov, 04:12, Randy  Johnson <[EMAIL PROTECTED]> wrote:
> > When I click on the date above I want to be able to change the  
> rowSpan
> > on the td that surrounds it.  I cannot seem to get it right.
>
> try this:
> $('#r2').parent().parent().attr('rowspan', '1');
>
>
>
> -- 
> Isaak Malik
> Web Developer

mamuso
http://mamuso.net
http://smupf.com



Reply via email to