我们如何使用javascript从纯HTML页面调用网页上的webmethod? [英] How can we call a webmethod on webpage from plain HTML page using javascript?

查看:83
本文介绍了我们如何使用javascript从纯HTML页面调用网页上的webmethod?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have been trying to search method to call an aspx page webmethod from javascript of a plain html page.... So far the search results have only returned the results for call web services. Kindly guide...





我尝试了什么:



我一直在尝试搜索方法从普通的html页面的javascript调用aspx页面webmethod ....到目前为止,搜索结果只返回了调用Web服务的结果。请指导......



What I have tried:

I have been trying to search method to call an aspx page webmethod from javascript of a plain html page.... So far the search results have only returned the results for call web services. Kindly guide...

推荐答案

看看这个:使用jQuery AJAX调用ASP.Net WebMethod [ ^ ]


这篇关于我们如何使用javascript从纯HTML页面调用网页上的webmethod?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆