Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
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...


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...
Posted
Updated 3-Dec-16 21:32pm
Comments
Afzaal Ahmad Zeeshan 4-Dec-16 7:25am    
Just send an Ajax request to the server.

1 solution

 
Share this answer
 
Comments
Hrishikesh 4-Dec-16 3:35am    
I want to implement this for windows gadgets development.. The latest version of jquery does not seem to be supported on windows 7
Peter Leow 4-Dec-16 3:51am    
jQuery is just a JavaScript library. Use a local copy of the jQuery library instead of linking to online CDN.
visit: https://jquery.com/download/
F-ES Sitecore 5-Dec-16 4:17am    
google "make ajax call with javascript" and you'll find examples of doing it with pure js. There are a few more lines of code obviously but the code samples are still out there.
Hrishikesh 7-Dec-16 0:46am    
Thank you so much
Afzaal Ahmad Zeeshan 4-Dec-16 7:25am    
5ed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900