[jQuery] Re: jQuery Nesting Tables

2009-07-28 Thread nullstring
Hi, am not sure if I'm doing this right .. I have here the function to move the paging from GridView(table) generated by .NET, on top/before the table(GridView), and put it inside the DIV element. Problem is, the condition there: if($('tbody tr:last td:has(table)', this).length > 0) doesn't wor

[jQuery] Re: jQuery Nesting Tables

2009-07-28 Thread nullstring
Hi, am not sure if I'm doing this right .. I have here the function to move the paging from GridView(table) generated by .NET, on top/before the table(GridView), and put it inside the DIV element. Problem is, the condition there: if($('tbody tr:last td:has(table)', this).length > 0) doesn't wor

[jQuery] Re: jQuery Nesting Tables

2009-07-25 Thread nullstring
. Jquery disregard the action if it doesn't exist. > For your example: > $('tbody[tr:last][td][table]', $(this)).remove(); will work if it can > find your criteria within $(this) otherwise it does nothing. > > On Jul 25, 8:57 am, nullstring wrote: > > > > >

[jQuery] Re: jQuery Nesting Tables

2009-07-25 Thread nullstring
Please help? On Jul 25, 10:12 pm, nullstring wrote: > Hi, > > In my last row (parent Table) with colspan(tr), I have another Table > (without any.attributes) which was generated by GridView, Paging > enabled and located in footer .. > > How do I know if that Table exists

[jQuery] jQuery Nesting Tables

2009-07-25 Thread nullstring
Hi, In my last row (parent Table) with colspan(tr), I have another Table (without any.attributes) which was generated by GridView, Paging enabled and located in footer .. How do I know if that Table exists in my last row(parent Table).. this code won't work .. if(jQuery(this).is('table')) {