摘要: 1.图片jquery实现:$("#MyImg").load(function(){})说明:在jquery中load方法是在对象加载完毕后触发 javascript实现:JS判断img图片是否加载完成:使用onload或者onreadystatechangefunction isImgLoad(){ if(!!window.ActiveXObject){ // IE if(img.readyState == 'complete'){ alert('finished'); } else{ alert('loading'); } 阅读全文
posted @ 2013-09-29 17:51 hlp鹏 阅读(582) 评论(0) 推荐(0) 编辑