日期:2014-05-16 浏览次数:20390 次
var listTable = new Object; listTable.toggle = function(obj, act, id,state) { var result = ajax.FactoryUser("js/factory_ajax.ashx?id="+id+"&act="+act+"&transmitstate="+state+"&type=u_fc","post",false); switch(result) { case "1": $(obj).attr("class","state0"); break; case "0": $(obj).attr("class","state1"); break; } }