Does anyone have an example of sortable_element using the handle option?
http://wiki.script.aculo.us/scriptaculous/show/Draggable
My Code:
<%= sortable_element ‘listorder’,
:update => ‘questions’,
:complete => visual_effect(:highlight, ‘listorder’),
:handle => ‘drag’,
:url => { :controller => ‘items’, :action => “order”, :item_id
=> session[:item_id]} if @edit %>
In this case is ‘drag’ class=‘drag’ on each handle?
It’s not working.
Thank You,
jeff