Thanks everyone for your suggestions,  I tried the one below first and
it worked.

-Randy

On Nov 18, 12:02 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote:
> I would use jQuery#parents() for this.
> $('#r2').parents('td').attr('rowspan', '1');
>
> In case you are using nested tables, you may want to limit it to the first
> parent td found:
>
> $('#r2').parents('td:eq(0)').attr('rowspan', '1');
>
> -Hector
>
> On Tue, Nov 18, 2008 at 7:00 AM, manuel muñoz solera <[EMAIL PROTECTED]>wrote:
>
> > 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