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