C
cjl
Hey all:
Given the following code:
var ct_series = [21,23]
var cr_series = [12]
function preload()
{
for ( parm in window )
{
if ( parm.match('_series') )
{
alert("Found one!");
}
}
}
In firefox and mozilla I get the alerts, in IE I do not.
If I try:
function preload()
{
for (parm in window)
{
alert("Found one:" + parm);
}
}
I see the alerts in IE, so I know that IE can iterate through the
window object. But none of the alert boxes show cr_series or
ct_series. In fact, this same code in Firefox results in roughly three
times as many alerts, listing objects that were not listed when run
through IE.
Help?
-CJL
Given the following code:
var ct_series = [21,23]
var cr_series = [12]
function preload()
{
for ( parm in window )
{
if ( parm.match('_series') )
{
alert("Found one!");
}
}
}
In firefox and mozilla I get the alerts, in IE I do not.
If I try:
function preload()
{
for (parm in window)
{
alert("Found one:" + parm);
}
}
I see the alerts in IE, so I know that IE can iterate through the
window object. But none of the alert boxes show cr_series or
ct_series. In fact, this same code in Firefox results in roughly three
times as many alerts, listing objects that were not listed when run
through IE.
Help?
-CJL