setAttribute('fill','red'); // Note: NOT setAttributeNS() circle.setAttribute('cx',150); // setAttribute turns 150 into a string circle.
確定! 回上一頁