What about using .each? http://docs.jquery.com/Core/each#callback
- Richard On Wed, Dec 23, 2009 at 8:34 PM, Eric Zhong <ericiszhongwen...@gmail.com>wrote: > > > 2009/12/24 Eric Zhong <ericiszhongwen...@gmail.com> > > when i use for-loop to access elements with array index or get() method it >> doesn't work. >> but i have to use the index to access, what happen please . >> >> >> ok: http://jsbin.com/olego >> wrong: http://jsbin.com/ulixu >> > > wrong: http://jsbin.com/axugi