我正在尝试在Google地方建议
上添加的自定义项目上添加onclick事件我试过这个
$('.pac-container').append('<div class="pac-item" _autocomplete_manual onmouseover="alert(888)" onmousedown="console.log(1)"><span class="pac-icon pac-icon-marker" style="visibility:hidden"></span><span onmousedown="console.log(2)" class="pac-item-query"><span class="pac-matched" style="color:Blue;cursor:hand;z-index:4000;" onmousedown="console.log(3)">Manually enter an address</span></span></div>')
它适用于firefox和opera,但在chrome上,只有onmouseover触发
非常感谢任何帮助