| Author |
is the below mention code json or javascript?
|
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 970
|
|
Dear Members,
Is the below mentioned code a json or javascript
|
http://www.lifesbizzare.blogspot.com || OCJP:81%
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56162
|
|
It's JavaScript. JSON is not code, it is an interchange format. Calling JSON code is a lot like calling XML "code".
JSON is based upon JavaScript object literal format, so the object literal part of that code does look a lot like JSON, but it's code, not data.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56162
|
|
And may I add that txt is a horrid variable name.
|
 |
 |
|
|
subject: is the below mention code json or javascript?
|
|
|