I have a div that is made resizable using jQuery UI. How can I dynamically make it not resizable anymore? I tried calling resizable({ disabled: true })
but the handle still showed.
使用此代码:.resizable(“ destroy”)
Try .resizable("option", "disabled", true);
http://jqueryui.com/demos/resizable/#option-disabled
Your solution is not working because, as per the documentation you need use the setter that I mentioned, if you want to disable it after initialization (you code will only work if its an initialization call)
糟糕...我在启用它之前禁用了“可调整大小” ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.