As mentioned by FrenchiINLA, $("table tr:has(table)") or $(".list
tr:has(table)") should do it.
On Jul 29, 5:04 am, nullstring wrote:
> 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
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
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
I didn't go through your whole code, but you can always check
existence of jquery object with 'has' to check attribution, or check
for length to see if the array is not empty somethign like
$('tbody[tr:last]', '[id$=GV]).length > 0 means it exists.
On Jul 25, 11:55 pm, nullstring wrote:
> oh gra
oh grace god, someone replied. thanks @FrenchiNLA
here's the generated .NET html code
PrinterProcessPackageTypeLeadTime
Edit
View
AlcanGr
Could you provide your html code generated by .net? it would help, but
in general rule you don't have to check existence of an element to
apply action to it. Jquery disregard the action if it doesn't exist.
For your example:
$('tbody[tr:last][td][table]', $(this)).remove(); will work if it can
fin
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 in my last row(parent Ta
7 matches
Mail list logo