var new_onclick = function() { alert("this works!"); }; element.setAttribute('onclick', new_onclick);. This will give a "Object" is undefined ...
確定! 回上一頁