[jQuery] Re: error essage: css is not a function

2009-12-02 Thread hsfrey
Dhruvar: Thanks. I did so, and it made no difference. I have often used variables, but not arrays, without the $. I think the use of $ before such variables is merely a convention. Harvey On Dec 2, 11:43 am, Dhruva Sagar dhruva.sa...@gmail.com wrote: Clearly boxes[i] is not a jQuery object.

[jQuery] Re: error essage: css is not a function

2009-12-02 Thread hsfrey
Thank you Mike. That makes sense! But what is the purpose of .get() then? What could I do with an actual JavaScript Array object which I couldn't do the way you demonstrate? Harvey On Dec 2, 11:48 am, Michael Geary m...@mg.to wrote: The jQuery object - the return value from $(whatever) - is

[jQuery] Re: error essage: css is not a function

2009-12-02 Thread MorningZ
I think the use of $ before such variables is merely a convention It's absolutely nothing more than that, just a convention... But it makes sense to use the $ on a variable name to signify to you later on, or more importantly someone else looking/working on your code at a later point, that hey,