比如说:document.getElementById("a").onmouseout=function( ){...}这样的函数定义怎样从外部获得参数
1 回答
stone310
TA贡献361条经验 获得超191个赞
function abc(x,y){
console.log(x+y)
}
document.getElementById("a").onmouseout=function(){
abc(1,2)
}添加回答
举报
0/150
提交
取消
