jetrica
08-02-2007, 07:48 PM
I have a well formed JSON object and I can access the value of an element this way:
document.write(myObject.dataset[0].PhyFirstName);
But what if I want to enumerate rather than epcify the element name "PhyFirstName"?
I tried this method but it doesn't work.
myObject.dataset[0].[3]
or
myObject.dataset[0][3]
Any help GREATLY appreciated.:thumbsup:
document.write(myObject.dataset[0].PhyFirstName);
But what if I want to enumerate rather than epcify the element name "PhyFirstName"?
I tried this method but it doesn't work.
myObject.dataset[0].[3]
or
myObject.dataset[0][3]
Any help GREATLY appreciated.:thumbsup: