[jQuery] Re: number of selected elements

2007-10-24 Thread [EMAIL PROTECTED]
$('#tableid tr').size() will get the number of TR elements inside a table with a specified ID attribute. On Oct 24, 8:15 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > hi friends, > > a quickie here: > > say i have a selector: $('table'); > > can someone let me know the most efficient wa

[jQuery] Re: number of selected elements

2007-10-24 Thread [EMAIL PROTECTED]
$('table tr').size() will get the number of TR elements for all tables. $('#tableid tr').size() will get the number of TR elements inside a specific table. On Oct 24, 8:15 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > hi friends, > > a quickie here: > > say i have a selector: $('table