javascript 判断某元素的id是否存在
var oCarouselBox=document.getElementById("moveie");if(oCarouselBox){alert(99);}else{alert(100);}var oCarouselBox=document.getElementById("moveie2");if(oCarouselBox==null){alert(88);