[jQuery] problem with wrapper arrays.......

[jQuery] problem with wrapper arrays.......


my understanding (acc. to book "jQuey in Action" and other sources,
like http://jquery.open2space.com/node/10) is that the standard jQuery
wrapper always returns an array containing all matching elements..
however, for some very odd reason I can't get an element by referring
to its index in the array...
for example:
    divs = $('div');
    div2 = divs[2]; // this line is ignored (or SOMETHING
weird is happening here..)
//    div2.addClass('red'); // so get error here that 'div2.addClass'
is not a function..
have a page with above code (and other code) here,
http://www.mayacove.com/dev/jquery/arrays.html
am stumped here, have been dealing with this for days.. don't get
what's happening here (using jQuery version 1.2.1 (maybe this only
works in 1.3?))
now this is actually not a huge deal b/c in troubleshooting this have
found other methods (like filter :eq and other methods.. but still, I
think it's strange that I can't make it work with array index..)
thank you...