Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 来自 javascript 的 Asp.net 代码隐藏?
Expert.please 给我一个调用 .aspx 页面内的函数(方法)的示例,该页面是用 .aspx.cs 页面编写的。请使用 javascript 调用该函数..给我完整的代码,只有它对我真正有帮助。 ..
看到这个:
http://www.xdevsoftware.com/blog/post/Call-WebMethod-from-Javascript-in-ASPNET.aspx
请参阅http://aspalliance.com/1922_PageMethods_In_ASPNET_AJAX.2 ......