On May 5, 10:05 pm, mkmanning <michaell...@gmail.com> wrote:
> Accessing the elements by index returns the element itself. To call
> jQuery methods you'd need to do this:
> divs = $('div');
> div2 = divs[2];

THIS is what I did........

div2 = divs[2]  --> is IGNORED....

pls run http://www.mayacove.com/dev/jquery/arrays.html on Firefox with
JS console open, you will see it says:
div2.addClass' is not a function... this is b/c the line div2 = divs
[2]  is IGNORED...

thank you for your response....

Reply via email to