On Tue, Nov 18, 2008 at 4:12 AM, Randy Johnson <[EMAIL PROTECTED]> wrote:
> > Hello, > > Here is sample code: > > <td class="rsp2" align="center" rowspan="2"> > <p> > 34 Days<br /> > <a id="r2" href="javascript: void(0);" title="2">11/03/2008</a> > </p> > </td> > > > 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. > > Here is the latest thing I tried: > > $("#r"+id).prev("td").attr("rowSpan","1"); > > I also tried: > > $("#r"+id).prev(".rsp2 td").attr("rowSpan","1"); > > Thanks! > > Randy > $('#r2').prevAll('rsp2').attr("rowspan","1"); -- Isaak Malik Web Developer