Call Asp.net Page Method Using Jquery <html> <head runat="server"> <title>Ajax Page</title> <script type="text/javascript" src="../Library/jquery-1.6.2.min.js"></script> <script type="text/javascript" language="javascript"> function CalllPageMethod() { // this will be called on button click event $.ajax({ type: "POST", url: "Default.aspx/" + "GetData" , // Default.page is your page and GetData is Your public Method inside code behind file which will return some response. dat...
Posts
Showing posts with the label WebMethod and jquery