Thanks that worked.
Ok, I am now trying to add several google maps using the same method
to no avail. Code below:
$(document).ready(function(){
/*Create Map/Address/.map_canvas class Arrays*/
var map = new Array();
var mapCanvasClasses = new Array();
/*Load Defaul
If you used Andrew's example, then you added a jQuery object to the
canvasClasses array. Calling innerHTML on a jQuery object won't work.
Try canvasClasses[0].html('htmlhere')
On Nov 4, 3:35 pm, shaf wrote:
> That doesnt work either.
>
> On Nov 4, 11:28 pm, Andrew Tan wrote:
>
>
>
> > You have t
That doesnt work either.
On Nov 4, 11:28 pm, Andrew Tan wrote:
> 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 wa
You have to supply the canvas object as a parameter to the push
function to add it to the array.
canvasClasses.push($(this));
4 matches
Mail list logo