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 插件。
具体来说,该插件提供了翻页功能,使一组 div 显示为书中的页面,并且我希望能够在一些不重要的事件期间禁用整个插件,以便根据用户的判断提供另一个视图。
插件执行如下:
$("#bookDiv").booklet( some options here);
关于如何做到这一点的任何想法?我已经搜索了 stackoverflow 和 google 并没有发现任何东西,所以任何帮助将不胜感激......