Calling a server side function using a javascript

前端 未结 4 2021
暖寄归人
暖寄归人 2021-01-25 22:20

I need to invoke a server side function when an item is picked in an ASP drop-down box, Can someone please tell me how to do that?

4条回答
  •  花落未央
    2021-01-25 22:53

    Add a web service to your project, and have this perform the actions/return the data you need on the client. Then use AJAX (or JQUERY AJAX) to call this service when needed.

提交回复
热议问题