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:
>
>
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
2 matches
Mail list logo