Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How To Change Input Type File Title In HTML

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.18k
    Comment on it

    We are change the input type file title with the help of this script

    Like Browse Title Change in to Choice File

    use this script for change Title

    function browseclick(){
        var fileinput = document.getElementById("browse");  // use input file id here
        fileinput.click(); 
    }
    function handlechange()
    {
    var fileinput = document.getElementById("browse"); 
    var textinput = document.getElementById("filename"); //Change the browser title
    textinput.value = fileinput.value; //Value of input type button equal to value of input type file  
    }
    

    And also use this html code:-

    <input type="file" id="browse" name="fileupload" style="display: none" onChange="handlechange();"/>
    <input type="button" value="Choice File" id="fakeBrowse" onclick="browseclick();"/>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: