Get value from AJAX using Javascript and ASP

前端 未结 9 1031
轮回少年
轮回少年 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 01:57

    Whatever the server-side script outputs will be picked up by the AJAX request. So if the AJAX requests something, the server-side does the legwork and fetches the result from the database and then outputs it.

    There are loads and loads of tutorials on how to do exactly this. Just ensure that you secure your script properly so that it's not open to abuse.

提交回复
热议问题