You can get and set an element's attributes directly using attr() . Get a single attribute: ... e is some mouseevent var point = path.point(e.pageX, e.
確定! 回上一頁