<body> <script type = "text/Javascript" > function show_filename() { var filename = document.getElementById('eve').value; alert(filename); } </script> <form> <p> <input name="text1" type = "<strong class="highlight">file</strong>" id = "eve" size = "40" > </p> <p> <input type="Button" name="Submit" id="mybut" value="Submit" onclick="show_filename()" /> </p> </form> </body>
function show_filename() { var filename = document.getElementById('text1').value; alert(filename); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)