without an example of your HTML, i have no idea what your problem
could be


On Mar 4, 3:35 pm, Alain Roger <raf.n...@gmail.com> wrote:
> On Wed, Mar 4, 2009 at 3:20 PM, MorningZ <morni...@gmail.com> wrote:
>
> > Some code i wrote
>
> >http://paste.pocoo.org/show/106445/
>
> > Call it like:
>
> > Columns_Resize($("selector for tables to line up widths"))
>
> Hi MorningZ,
>
> i tried to adapt the code to my purpose and i'm facing an interesting
> problem.
> $slave_table.find("tbody tr").find("td").each(function(i)
> {
>  $th = $(this);
>  ...
>
> });
>
> does not work...in fact if i do:
> $slave_table.find("tbody").each(function(i){..});
> it works
> if i add the tr as following:
> $slave_table.find("tbody tr").each(function(i){..});
> or
> $slave_table.find("tbody").find("tr").each(function(i){..});
> it does not enter in the function "each"
> whereas my tbody as <TR> and each <tr> has 3 <td>.
> so where could be the problem ?
>
> thanks.

Reply via email to