如何从客户端调用服务器端功能
问题描述:
如何从客户端javascript代码调用服务器端函数..
我在html页面中的客户端函数,我想在它后面调用c#函数。
我正在使用visual studio 2013做asp.net项目
how to call the server side function from client side javascript code..
ive the client function in html page and i wanted to call c# function behind it.
im doing asp.net project using visual studio 2013
答
转到 jQuery AjaxWebMethod
。
参考 - 使用jQuery直接调用ASP.NET AJAX页面方法 [ ^ ]
Hi
试试这个链接
http://www.c-sharpcorner.com/ UploadFile / rohatash / calling-server-side-function-from-javascript-in-Asp-Net / [ ^ ]