topical media & game development
professional-ajax-07-General-JSON-Examples-MixingLiteralsExample2.htm / htm
<html>
<head>
<title>Mixing Literals Example</title>
</head>
<body>
<script type="text/javascript">
var oCarInfo = {
"availableColors" : [ "red", "white", "blue" ],
"availableDoors" : [ 2, 4 ]
};
alert(oCarInfo.availableColors[1]);
</script>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.