No functions, but there is syntax for it...

for (i in attributesScope) {
alert(i + ' = ' + attributesScope[i]);
}

hth

s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com

> Hi,

> I have a coldfusion structure which I serialise from wddx
> to _javascript_,
> however the structure is random and I need to know how I
> can dynamically
> loop over this structure to get at the data without
> knowing the keys,

> is there functions in the _javascript_ or dom api to do
> this, I can't find anything.

> <script language="_javascript_">
> var attributesScope;
> attributesScope = new Object();
> attributesScope["fuseaction"] = "circuit.fuse";
> attributesScope["uselargemap"] = "true";
> attributesScope["displaytype"] = "cs";
> attributesScope["datafieldOne"] = "data1";
> attributesScope["datafieldTwo"] = "data2";
> attributesScope["datafieldThree"] = "data3";
> </script>

> thanks in advance J.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to