jquery POST data in aspx page

后端 未结 2 1899
失恋的感觉
失恋的感觉 2021-01-28 02:18

I post data to my aspx file qith the following code:

 $.ajax({
            type: \'POST\',
            url: \"Ajax_Text.aspx?rand=\" + myRand
                            


        
2条回答
  •  暖寄归人
    2021-01-28 02:52

    You are "posting" the data (text) as a query string (as part of URL) so you have to use Request.QueryString.

提交回复
热议问题