insertAfter strange behavior

insertAfter strange behavior

I'm trying to move a div that contains an object element that contains a JW Player. The div looks like this, where it's currently nestled between some p elements:


The view above is from the Firebug HTML panel.

The jQuery I'm using is

                    $('#container_wrapper').insertAfter('p#crown_li');

After this executes, the player is no longer visible and the HTML looks like this:


The div and the object moved to where they should have, but the object element is faded and it no longer displays on the page.

Does anyone know what might have happened?

Thanks


















    • Topic Participants

    • stva