event.trigger 仅在以下情况下不起作用。
.js 文件:
alert(event.target.getAttribute("name"));
.html 文件:
            <div class=" tile  tile-big tile-5" id="three" name = "Launch" >
                <div><p>Launch Application </p></div>
            </div>
它给出的是“null”,而不是名称。
并且
     alert(document.getElementById(this.id).getAttribute("name"));工作正常。
帮我。
提前致谢。