jQuery Resizable() + Draggable() Bug Workaround

There is already a bug filed for making the jQuery UI resizable() and draggable() functions work together on the same element. In case you ran into the same problem and ended up here, the solution as it turns out, is very trivial.

// this will make
<div id="box">resizable() and draggable()

// same but slightly safer since it checks parent's class

10 Responses

This article is no longer open for comments