标签:
var forbidden = ‘<a onclick="changeStateVip(\‘‘ + row.id + ‘\‘,\‘‘ + -4 + ‘\‘,\‘‘ + index + ‘\‘,\‘‘ + ‘\‘)" href="javascript:void(0)">禁用</a>‘; var recover = ‘<a onclick="changeStateVip(\‘‘ + row.id + ‘\‘,\‘‘ + 1 + ‘\‘,\‘‘ + index + ‘\‘,\‘‘ + ‘\‘)" href="javascript:void(0)">正常</a>‘;
var recover = ‘<a onclick="changeStateVip(‘ + row.id + ‘,1 + ‘ + index + ‘)" href="javascript:void(0)">正常</a>‘;
function changeStateVip(id, state, index) {...}
function changeStateVip(id, state) {...}
传2个以上的参数,
标签:
原文地址:http://www.cnblogs.com/xiaoguiyeye/p/5504813.html