How to parse Json object in ASP classic passed from jQuery
Posted
by Michael Itzoe
on Stack Overflow
See other posts from Stack Overflow
or by Michael Itzoe
Published on 2010-06-10T17:07:45Z
Indexed on
2010/06/12
12:32 UTC
Read the original article
Hit count: 964
Using a jQuery dialog, on clicking OK I call $.post( "save.asp", { id: 1, value: "abcxyz" } );
to pass the values to my ASP classic file that will update the database. I don't need a return value (unless it fails).
I'm a relative noob to jQuery, so I'm assuming I'm using JSON to pass the values to the ASP file. I just don't know what to do with them in ASP (using VBScript). I've seen things like ASP Extreme, but I'm not clear on how to use them. I've tried referencing values via the Request collection, but no luck. All I want to do is take the values passed, parse them out, then save them to the database.
Sorry if this is a duplicate, but this just isn't clicking for me.
© Stack Overflow or respective owner