Im trying to get a custom handle work with jquery ui resizable widget, but when I use the handles option to pass in a jquery reference to another element, it fails. From what Iv read from the documentation and other examples on the web, this should work just fine.
<div class="layer">
<div class="left">left</div>
<div class="center">center</div>
<div class="right">right</div>
</div>
$('.layer').resizable({
handles: {
'e': $('.right')
}
});
Here's a fiddle: http://jsfiddle.net/MatteS75/3dwVp/