Reply content:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">
<>< span="">
http-equiv=
"content-type"
content=
"txt/html;charset=utf-8"
/>
</span>javascript实现IE,firefox客户端图片预览<span class="nt">
<>
IMG.SRC = url.createobjecturl (file) use Filereaderapi read for Dataurl suggest a browser to try. There is a technique called Ajax, which refreshes asynchronously. You can use this technique, Ajax asynchronously submits a picture upload, and then returns the path of the upload and the file name back to JSON. Then in the foreground Ajax success method, get the return JSON, and then replace the path of the image with the src,jquery substitution method in the IMG tag: $ ("#imgId"). attr (' src ', path); Path is the route. Imgid is the ID of the IMG tag. You can use the Fex Web uploader directly
There is a specification, UI customization, the bottom is JQ, the extension of the forcing upload generated image address, to the IMG src. Upload pictures, backstage must have received it? Background received image processing to return a file name, and then your front desk call just fine you have to use the JQ upload plugin