Combine 2 function javascript into 1
This question already has an answer here:
当然,只需创建一个包装函数:
var showBoth = function(str, x) {
showRole(str, x);
showUser(str, x);
};
链接地址: http://www.djcxy.com/p/22328.html
上一篇: 提交由ajax调用创建的ajax表单
下一篇: 将2个函数javascript合并为1