$.post("../URL.ashx", { Parameter1:Parameter1 Value,Parameter2:Parameter2 Value}, function(data){
        $("#<%=txtFieldValue.ClientID %>").val(data);//处理返回信息

});

http handler URL.ashx文件中:

 

context.Response.ContentType = "text/plain"

获取传递的参数

context.Request("Parameter1")

返回需返回的信息

context.Response.Write(“需返回的信息”)

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-01-21
  • 2021-09-05
  • 2021-05-12
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-12-27
相关资源
相似解决方案