How to open specific folder in

 

Questions


I want to upload images in my project from specific folder. when i click on choose file button it goes to default folder or last opened folder but i want to do it always open some specific folder like documents/all images/animals images/.

 <table>  
            <tr>  
                <td>First Name:</td>    
                <td><input type="text" name="firstName" size="10"  
                    required="required" /></td>  
            </tr>  
            <tr>  
                <td>Last Name:</td>  
                <td><input type="text" name="lastName" size="10"  
                    required="required" /></td>  
            </tr>  
            <tr>  
                <td>Choose Image:</td>  
                <td><input type="file" name="photo" size="10"  
                    required="required" /></td>  
            </tr>  
            <tr>  
                <td><input type="submit" value="Submit"></td>  
                <td><input type="reset" value="Clear" /></td>  
            </tr>  
        </table> 

someone tell me solution for this.

 

 

————————————————-

Answer

Actually that’s impossible because of security reason with a pure HTML / Javascript. I don’t if it’s possible if you use ActiveX or Java Applet but those technologies are outdated.

file-upload,html5,javascript,jquery

Facebook Comments

Post a comment