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.
XBL ハンドラに名前を付けて、 XBL メソッドと同じように JavaScript から呼び出すことはできますか?
そうではないようですが、XBL メソッドを作成して、ハンドラーと他の JavaScript の両方から呼び出すことができます。何かのようなもの:
<handler event="mouseover"> this.handleMouseOver(); </handler> ... <method name="handleMouseOver"> <body>... //and in javascript code: yourObj.handleMouseOver();