How do i save a draggable element so the next time i load it, i don’t have to issue the draggable() function again.
I thought having the class ui-draggable will automatically make the element get recognized as draggable but i see that’s not the case.
This is the saved draggble element.
<div id="one" class="ui-draggable">test 1 </div>
Do i have to issue the draggable() function again to make it draggable.
The short answer is: Yes, you have to call draggable every time the page loads. I would just call it in the ready event. That’s the typical way to do it.