jquery - How to retrieve elements from sortable into array -
so have been working in this:(http://jsfiddle.net/2phuw/5/) last couple hours. me out figure out following:
1) in source sortable abbreviation wat, ura, or mox needs shown 2) when target filled, :params[:ready] = true 3) when target filled following code updates accordingly
<ul> <li><i class="icon-edit"></i> not ready </li> <li><i class="icon-check"></i> ready </li> </ul>
4) when target filled, :params[:comp] gets sorted elements of target array: ie-> [:wat,:ura,:mox,:wat,...]
thanks in advance
Comments
Post a Comment