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.
問題は、infobubble が作成されてレンダリングされるまで、infobubble 内の HTML の「文字列」が DOM の一部ではないことです。
これはうまくいくはずです:
function testClick() { alert("clicked!"); }
および情報ウィンドウ/情報バブルで:
var content = '<a id="test" href="javascript:testClick();">Deatils Information</a>';