The jQuery object - the return value from $(whatever) - is an array-like
object with .length and [0] etc. properties. You don't need to call .get()
on it unless you need an actual JavaScript Array object, which is rare.
The *elements* of the jQuery object - or the elements of the Array that
.get()
Clearly boxes[i] is not a jQuery object.
you should try $(boxes[i]).css perhaps
Thanks & Regards,
Dhruva Sagar.
On Thu, Dec 3, 2009 at 1:04 AM, hsfrey wrote:
> I'm using the following code:
>
>var boxes = $('.resizable').get(); // get divs as array
>for (v
I'm using the following code:
var boxes = $('.resizable').get(); // get divs as array
for (var i=0; i
3 matches
Mail list logo