Get value from AJAX using Javascript and ASP

前端 未结 9 1048
轮回少年
轮回少年 2020-12-02 01:44

I am using this Ajax code. But I dont know how i will retrieve my value of value1 on my server-side asp using Javascript.

On my serverside I want to have something

9条回答
  •  悲哀的现实
    2020-12-02 02:06

    When your Ajax-Request succeeds you will have the querystring-variables in the QueryString-Collection of the Request-Object.

    Could work like this on the server side:

    <% var newdata = Request.QueryString("value1"); %>
    

提交回复
热议问题