There is Selectivizr: http://selectivizr.com/
:nth-child supported in every javascript framework that works with it, including jQuery.
The big advantage when using this is that it reads directly from your CSS files, rather than writing extra javascript (this is unobtrusive). You can simply use the advanced selectors as usual.
source share