手记

img图片的应用jquery

         <script>var  images=['one.png','two.png','thress.png'];var html = '';$.each(images,function(key,value){   html += '<img src=" '+value+' " />';});$('#imagesConteiner').html(html);$('img').erro(functionn(){   $(this).repalceWith('<img src="missing.png" alt="Could not load image">'');});</script>




0人推荐
随时随地看视频
慕课网APP