动态添加有参事件

function dte(n){
  if(n!=null){
    d(n);
  }
}
element.onclick = Function("dte("+r.id+")");

猜你喜欢

转载自1971161579.iteye.com/blog/2327715