$(document).ready(function() {
var clone = $("#me_flash_0").clone(true);
if($('video').attr('class') == "pause_0"){
$("#me_flash_0").remove();
}
$('.top_item img').click(function(){
$("#me_flash_0_container").html(clone);
$(this).hide();
});
}
#me-flash_0
<embed>
要素です。そして#me_flash_0_container
、ラッピングコンテナです。問題は、複製されたオブジェクトが空のように見えることです。html(clone)
効果はありません。
Firebugはエラーを表示しません。
これが関連するhtmlです
<div id="me_flash_0_container" class="me-plugin">
<embed id="me_flash_0">
</div>
<video class="pause_199" width="586px" height="440" src="some link" autoplay="true" tabindex="0" style="display: none;"></video>
何か案は?