# Sortable\_element doesn't update div nor call onComplete func

**URL:** <https://www.ruby-forum.com/t/sortable-element-doesnt-update-div-nor-call-oncomplete-func/115215>\
**Category:** Rails\
**Created:** [September 21, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/sortable-element-doesnt-update-div-nor-call-oncomplete-func/115215 "2007-09-21T20:21:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snaggy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Post date:** [September 21, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/sortable-element-doesnt-update-div-nor-call-oncomplete-func/115215/1 "2007-09-21T20:21:39Z")

</div>

I have a sortable UL with LIs in it

example:

- 
- 
- 

\<%= sortable\_element("my\_list", { :complete =\> "alert ('hi')", :handle =\> "drag", :update =\> "menu", :url =\> { :action =\> "order\_menu" } } ) %\>

nothing happens, nothing at all, after I have changed the order and  
dropped the item in its new position. Why?

thanks
