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.
我想通过角度在页面中选择 $document 元素,除了特定元素(按类或 id)并且不使用 jquery lib 选择器,如何做到这一点,请帮助我?
$document.unbind('click', closeMenu);
document.getElementById()是适用于所有浏览器的原生 JavaScript 调用
document.getElementById()