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