Using jQuery's getJSON method with an ASP.NET Web Form

前端 未结 3 1456
清酒与你
清酒与你 2020-12-05 08:32

How do I go about calling a method on an ASP.NET Web Form page using the getJSON method on jQuery?

The goal is this:

  1. User clicks on a list item
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 09:29

    Here is a minimalistic example which should hopefully get you started:

    <%@ Page Language="C#" %>
    <%@ Import Namespace="System.Web.Services" %>
    
    
    
    
    
    
        jQuery and page methods
        
    
    
        
    
    
    

提交回复
热议问题