Thursday, November 13, 2014

jquery upload image preview

Posted by Gnani Palepu  |  No comments

 upload image and preview using jquery  
 <html xmlns="">  
 <title>jQuery Preview Image before upload</title>  
 <script type="text/javascript" src=""></script>  
 <script type="text/javascript">  
 function showimagepreview(input) {  
 if (input.files && input.files[0]) {  
 var filerdr = new FileReader();  
 filerdr.onload = function(e) {  
 <form id="form1" runat="server">  
 <input type="file" name="filUpload" id="filUpload" onchange="showimagepreview(this)" />  
 <img id="imgprvw" alt="uploaded image preview"/>  

4:52 AM Share:


Get updates in your email box
Complete the form below, and we'll send you the best coupons.

Deliver via FeedBurner
Proudly Powered by Blogger.
back to top