Tried your tutorial by copying & pasting the HTML file into Notepad & saving with a .htm extension, and saved the .js file into the same folder with it from the link provided. When I ran the HTML file in IE, it gives the first alert, but an error when trying to produce the 2nd: Objuect doesn't support this property or method. Personally I think there was way too much in that json2.js file - I am new to JSON, but it just seems like it could be simplified to just give the JSON output in an alert as a string, not worry about dates and objects and stuff like that because shouldn't JSON values already be strings? Just curious.
View All Comments