0
爲什麼不用這個代碼替換對象和嵌入?jQuery Replacewith(替換2個元素)
$(".watch-on-mobile").click(function() {
$('object' && 'embed').replaceWith($('.video-js'));
$('.video-js').css("display", "block")
});
在此先感謝!
爲什麼不用這個代碼替換對象和嵌入?jQuery Replacewith(替換2個元素)
$(".watch-on-mobile").click(function() {
$('object' && 'embed').replaceWith($('.video-js'));
$('.video-js').css("display", "block")
});
在此先感謝!
爲什麼你認爲這工作...? – Matt 2013-03-18 17:48:45