Pradeep Sethi
2006-Apr-22 01:14 UTC
[Rails] Checkboxes get reset in sortable element in IE
Hi,
I am creating a list of checkboxes and text using this code:
<% count = 0 %>
<ul id="fields_list">
<% fields_ary.length.times do %>
<%= "<li id=''item" %> <%= count %> <%=
"''><span class=''chkBox''> <input
type=''checkbox''></span><span
class=''chkText''> " + fields_ary[count] +
" </span></li>" %>
<% count = count+1 %>
<% end %>
</ul>
<%= sortable_element("fields_list",
:url => { :action => "order"}) %>
It creates a sortable list and I can move elements around, but the
checkboxes get unchecked in IE, if I move the checked elements.
Pls note that the checkboxes work fine in Firefox.
Is this a known issue?
Thanks in Advance
Pradeep
--
Posted via http://www.ruby-forum.com/.
