this error show because setAttribute just get string not function. your code is not true if you want add event you should use b.onclick = function(){};.
確定! 回上一頁