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.
如何关闭 alert() 的声音,或者在 Jquery 中有什么好的简单的替代方法?
您无法关闭声音。但是,您可以选择不使用警报,而是使用JQuery 对话框。
您可以尝试使用 jQuery 的BlockUI或jqModal,它们都非常酷且易于使用。