日期:2014-05-17 浏览次数:20818 次
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Pressure_plate.aspx.cs" Inherits="Produce_Pressure_plate" %>
//下面是js脚本用到的ajax脚本
var jiecun = Produce_Pressure_plate.rec_jiecun(idstr[0]).value.split(',');
//开始部分
public partial class Produce_Pressure_plate : System.Web.UI.Page
//
AjaxPro.Utility.RegisterTypeForAjax(typeof(Produce_Pressure_plate));
[AjaxPro.AjaxMethod]
public string rec_jiecun(string goodsid)
{
string str = "";
str = tm + "," + yh + "," + mb + "," + sg;
return str;
}
AjaxPro.Utility.RegisterTypeForAjax(typeof(Produce_Pressure_plate),this);试试