I am working with Raphael JS library. It s been so great and suits the requirements too. I am trying to figure out, how to write a generic event handler for all the nodes in library. I would need the clicked object instance to customize it s attributed on click event.
我已宣布为科安会的拉法尔峡谷,因此,如果有人点击我会利用“Qu子”在本手里接手。 我也附上了信道上所有节点的 no。
这里是基因的原型。
$j( #holder ).bind( click , function(event) {
// event handler.
}
然而,我无法收到被点击的点子的标本。
<代码>event.srcElement属性也失败。
任何帮助都将受到高度赞赏。
Thanks, Karthik.