[jQuery] nth-child(n) not working for me - I didn't see my previous post

2008-09-17 Thread kcharles
I switch between var n = 2; nth-child(n) and nth-child(2) and get different behavior. Any suggestions/work arounds? Thanks! Here is the code: nth child //Add input box for each column $(function(){ var n = 2; // $("#filterTable tbody tr td:nth-child(2)").each(function(){

[jQuery] nth-child(n) not working for me.

2008-09-17 Thread kcharles
I switch between var n = 2; nth-child(n) and nth-child(2) and get different behavior. Any suggestions/work arounds? Thanks! Here is the code: nth child //Add input box for each column $(function(){ var n = 2; // $("#filterTable tbody tr td:nth-child(2)").each(function()