Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
jquery-ui ui-draggable not dragging

I have a set of html elements that should use the ui-draggable class from jquery-ui. I need to update all of the jquery-ui elements dynamically. This program renders html after the page has been loaded.

<div id="s1" class="draggyBox-small">Loop Body</div>

I expect that when I click on the element and drag it the class should get updated to ui-draggable ui-draggable-dragging. There aren't any error messages. I've tried hard coding the class on the elements

<div id="s1" class="draggyBox-small ui-draggable">Loop Body</div>
<div id="t1" class="ltarget ui-droppable"></div>

A function like the one shown below updates selected inputs

function update_draggy_boxes(){
      $("[class^=draggy]").draggable();
    }

I need to update all of the elements. Any help would be greatly appreciated.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!