首页 >后端开发 >php教程 >点上传之后怎么让图片显示在红色的框里,页面不跳?

点上传之后怎么让图片显示在红色的框里,页面不跳?

WBOY
WBOY原创
2016-06-29 16:09:391026浏览

回复内容:

<code class="language-html">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
<span class="nt"></span>
<span class="nt"><meta> <span class="na">http-equiv=</span><span class="s">"content-type"</span> <span class="na">content=</span><span class="s">"txt/html;charset=utf-8"</span> <span class="nt">/></span>
<span class="nt"><title></title></span>javascript实现IE,firefox客户端图片预览<span class="nt"></span>
<span class="nt"><script></script></span>
     <span class="c1">//使用IE条件注释来判断是否IE6,通过判断userAgent不一定准确</span>
     <span class="k">if</span> <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">all</span><span class="p">)</span>
          <span class="nb">document</span>
                    <span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="s1">'</span></span></code>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn