我一直无法弄清楚如何手动触发DOM事件.例如,在这里,我尝试触发li的"click"事件
Ext.DomQuery.select('#mapRoutesPanel ol li:nth-child('+(index+1)+')')[0].click();
Run Code Online (Sandbox Code Playgroud)
它在谷歌浏览器上运行良好,但是当我构建相同应用程序的Android原生应用程序时,它给了我错误
Uncaught TypeError: Object #<HTMLLIElement> has no method 'click'
Run Code Online (Sandbox Code Playgroud)