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.
我刚开始使用Toastr,虽然我以前用过jGrowl。
Toastr
jGrowl
我的问题如下,如果我有多个Toastr可见的弹出窗口,我是否可以针对特定的弹出窗口将其删除?
我似乎找不到任何有关使用 ID 设置和定位的文档...
toastr() 函数返回 toast 的 div,你可以用它做你喜欢的事情。
您可以在浏览器的 js 控制台中尝试一下(这是 chrome):