On Feb 23, 2008, at 2:00 PM, Dave Stewart wrote:


Not sure, but from an id/class point of view, any page id should be
unique, so your "order" identifier if it is to be used on many TDs,
should really be a class="order".
So if you're just picking up a single id, there's no need to iterate
over, is there?

That's a good point, but it looks like he is trying to find td elements with an id that *starts* with "order," so they could be "order_1", "order_2", etc. I agree, though, that it would be less cumbersome to simply use a common class.

Anyway - I replicated your test and find worked fine within each for
me.

Good to know, since I couldn't see anything wrong with what he was doing.


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

Reply via email to