Hi All,

Please check the below code and let me know whats the problem with the

<%= sortable_element(“parent_drag”,:tag=>“div”,:handle=>“legend”,
:dropOnEmpty => true, :constraint=>false,:onUpdate=>“function(){return
reorder_collection();}”) %>

I’m trying to call a JS function, but its not working.

Thanks & Regards,
Priyadharsini T

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs