Hi all,

I have the following HTML code:

<div id="the_list">
  <div class="row">
    <input type="checkbox" name="a_name" value="a_value" id="an_id" />
  </div>
  <div class="row"></div>
</div>
<div id="other_list">
  <div class="row"></div>
</div>

When the checkbox gets clicked, the div which contains the checkbox
should be removed from "the_list" and added to "other_list". For this
purpose I wrote the following script:

$(function() {
    $('#the_list [EMAIL PROTECTED]').click(function() {
        $(this).parents('.row').fadeOut('slow', function() {
            $(this).appendTo('#other_list');
            /*$(this).fadeIn('slow');*/
        });
    });
});

It works fine in Firefox2. But it crashes Konqueror when the appendTo()
function is called...

Am I doing something wrong (I am rather new to jquery), or is it a bug
in Konqueror/jquery? Does someone know a workaround for this problem?

Thanks,
daniel

-- 
Daniel Hofstetter
http://cakebaker.42dh.com

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to