On Feb 22, 1:43 pm, Aaron <[email protected]> wrote:
> You are a legend!  Please tell me how you noticed that so quickly!?!

IE reported an error, "Object does not support this function" or
something similar, and the Script Debugger stopped at that line.
Since
  tabs = new Array();
is syntactically valid, "tabs" must already be an object which you
can't reassign like this. Search the page source for "tabs" and find
  <div id="tabs">
You then need to know that IE creates a global variable for each HTML
element with an id attribute. So you already had a global variable
which was assigned as
  var tabs = document.getElementById("tabs");
done for you behind the scenes. Automatic variables like this can't be
reassigned.

You can redefine such an automatic variable, by using the "var"
keyword yourself, and
  var tabs = new Array();
does that successfully.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to