Re: [jQuery] cannot insert html into DIV

2009-11-04 Thread Andrew Tan
You have to supply the canvas object as a parameter to the push function to add it to the array. canvasClasses.push($(this)); On Thu, Nov 5, 2009 at 10:16 AM, shaf wrote: > Hi Guys, > > I have several .class DIVs I want to manipulate. I have retrieved them > using the following code: > >

[jQuery] cannot insert html into DIV

2009-11-04 Thread shaf
Hi Guys, I have several .class DIVs I want to manipulate. I have retrieved them using the following code: var canvasClasses = new Array(); $(".canvas").each(function() { canvasClasses.push() }); I am now trying to insert some HTML into the DIVs but its not