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