如何实现点<input type="file" name="file1" id="file1">浏览图后显示此图片问题
<input type="file" name="file1" id="file1" />谁有这方面的例子

解决方案 »

  1.   


    <img id="img" src=""/>
    <input type="file" name="file1" id="file1" onchange="document.getElementById('img').src=this.value;" />
      

  2.   

    有没有这方面的,我是用ASP开发的
      

  3.   

    用这个JavaScript 图片上传预览效果 
      

  4.   

    IE8有时会因为安全性问题而不能实现.除非改掉IE设置
      

  5.   

    ie8好像得用另一种方式,好像是css滤镜之类的,你找一下相关资料
      

  6.   

    这个不兼容浏览器  FF中用 this.,value.files.item(0).getAsDataURL()
      

  7.   

    http://blog.csdn.net/happy664618843/archive/2010/01/29/5271315.aspx IE FF中图片预览简单方法