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.
单击按钮后如何隐藏按钮?我正在等待您的帮助
如果你不想依赖像 jQuery 这样的额外框架,你可能想尝试这样的事情:
<button onclick="this.style.display='none';">Click to hide</button>
有关您的问题的更多信息确实会帮助其他人帮助您。