Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JQUERY AJAX POST and how to receive data via Classic ASP

Status
Not open for further replies.

Swi

Programmer
Feb 4, 2002
1,963
0
36
US
I have the following:

Code:
        $.ajax({
            type: 'POST',
            url: 'save_request.asp',
            data: { griddata: JSON.stringify(datainfo)},
            dataType: "json"})
            .done(function(data) {
              $("#dialog").dialog({
            	  modal: true,
            	  title: "Response Information",
            	  width: 250,
            	  height: 150,
            	  buttons: {
            		  Close: function () {
            			  $(this).dialog('close');
            		  }
            	  },
            	  open: function () {
            		  $("#dialog").html(data);
                    $(".ProcessingOverlay").hide();
            	  }
              });
            })
            .fail( function(xhr, textStatus, errorThrown) {
                    alert(xhr.responseText);
            })
            //.always(function() { alert("complete"); });
        }
    })

How do I *receive* this data via Classic ASP to process it?

I keep getting Operation not Allowed using this when posted to the ASP page.

Code:
data = Request.form("griddata")

Swi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top