How To Change Input Type File Title In HTML
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:-
copytext
<input id="browse" name="fileupload"
onChange="handlechange();"/>
<input value="Choice File" id="fakeBrowse" onclick="browseclick();"/>
For such more Blogs you can visit to http://findnerd.com/NerdDigest
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:-
copytext
<input id="browse" name="fileupload"
onChange="handlechange();"/>
<input value="Choice File" id="fakeBrowse" onclick="browseclick();"/>
For such more Blogs you can visit to http://findnerd.com/NerdDigest