Forum: Ruby on Rails Checkboxes get reset in sortable element in IE

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
612a5333e356c4f765230d9ac06e5c8c?d=identicon&s=25 Pradeep Sethi (psethi2000)
on 2006-04-22 03:13
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
This topic is locked and can not be replied to.