Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想取消设置(删除)文本对象的 href 属性。怎么做?
尝试
var paper = Raphael( 0, 0, 100, 100 ); var rect = paper.rect( 0, 0, 100, 100 ); // just set it to nothing rect.attr({ href: "" });