# Sortable\_element isn't doing an ajax request

**URL:** <https://www.ruby-forum.com/t/sortable-element-isnt-doing-an-ajax-request/150689>\
**Category:** Rails\
**Created:** [October 11, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/sortable-element-isnt-doing-an-ajax-request/150689 "2008-10-11T15:46:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![temesta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@temesta](https://www.ruby-forum.com/u/temesta)\
**Post date:** [October 11, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/sortable-element-isnt-doing-an-ajax-request/150689/1 "2008-10-11T15:46:57Z")

</div>

Hi,

I’m using sortable\_element and trying to do a request after each drag  
and drop. But it doesn’t seem to work when the option :ghosting is  
turned off.

\<%=  
sortable\_element(“imgpage0”,:tag=\>“div”,:constraint=\>:horizontal,:overlap  
=\>:horizontal,:ghosting=\>false,:url=\>sortassets\_articles\_url) %\>

Actually, the problem is explained very well in this ticket:

[http://dev.rubyonrails.org/ticket/6489](http://dev.rubyonrails.org/ticket/6489)

I’m a bit confused because it states:

“This was observed in Rails version 1.1.6. I tested with Firefox 1.5.0.7  
and IE 6, and the problem exists in both browsers.”

Does this problem still exist, or is there something wrong with my JS  
files?
