Blog Archives

javascript to get value of File in Html with in the Page

<html> <head> <title> New Document </title> <meta name=”Generator” content=”EditPlus”> <meta name=”Author” content=””> <meta name=”Keywords” content=””> <meta name=”Description” content=””> </head> <script > function Check() { var name=document.getElementById(‘INPUT’).value; alert(name); document.getElementById(‘OUTPUT’).innerHTML=name; } </script> <body> <input type=”file”  id=’INPUT’  value=””  > <input type=”button”  value=”Check”  onclick=”Check()” … Continue reading

Image | Posted on by | Leave a comment