Summary of Asp.net AJAX calling background static methods
高洛峰Original
2016-12-16 16:21:341563browse
1.Ajax Library method
C# code:
[WebMethod] public static DateTime GetCurrentTime(string str) { return DateTime.Now; }
JS code:
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn