The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

deedod (1) [Avatar] Offline
Hello All,

I'm having issues with a nagging little bug in
IE7 relating to using sortables.

I have main div that contains other divs that
I make sortable like so:

Sortable.create('main_div', {tag:'div', constraint:'vertical'});

This works great in all browsers the child divs
sort with no problem. However, I'm using AJAX
to add extra child elements to this main div
and each time I add a new div I'd like to add
it to the main div sortable, so this is what I do:

Sortable.create('main_div', {tag:'div', constraint:'vertical'});

This works perfect in Safari and Firefox but in
IE7 the newly added items are not draggable and
thus can't be sorted.

I'm using prototype and scriptaculous 1.8.1

Anyone have any recommendations or having the same problem?