<script> function attachFile(){ document.getElementById("file").click(); } </script> <form name="novsh" style="margin: 0px; padding: 0px;"> <input type="file" name="file" style="display:none" id="file" /> </form> <a href="javascript:attachFile()">Attach File</a> <input type="button" name="btn" value="click me" onclick="attachFile()" />
document.getElementById("file")
.getElementById("file")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)