/// /// 访问用户 [Pub_UserGuest] Ajax提交类 /// var UserGuestAjax = new Object(); /// /// 访问用户 [Pub_UserGuest] 获取记录信息 /// UserGuestAjax.GetInfo = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.UserGuestAjax.Get", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 访问用户 [Pub_UserGuest] 添加记录 /// UserGuestAjax.Insert = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.UserGuestAjax.Insert", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 访问用户 [Pub_UserGuest] 修改记录 /// UserGuestAjax.Update = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.UserGuestAjax.Update", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 访问用户 [Pub_UserGuest] 删除记录 /// UserGuestAjax.Delete = function(key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.UserGuestAjax.Delete", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 访问用户 [Pub_UserGuest] 批量删除记录 /// UserGuestAjax.BatchDelete = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.UserGuestAjax.BatchDelete", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /******************************************* * 以下为自定义方法 *******************************************/