www.pudn.com > LazyCMS.zip > common.js


// 创建一个模块对象,防止跟系统函数冲突
var feedback = {
	// tag *** *** www.LazyCMS.net *** ***
	tag : function(l1,l2){
		var I1 = l1 ? '' : '';
		return '' + I1 + '';
	},
	set : function(l1,l2,l3){
		var $this = $(l1);
		var $obj  = $this.parent();
		var $url  = $this.parents('form').attr('action');
			$obj.html(loadgif());
			$.post($url,{submit:'settag',action:l2,lists:l3},function(){
				$obj.html(feedback.tag(l2,l3));
			});
	}
};