<input type="file" style="position: absolute; left: -200px; top: -200px;"> <span onclick="this.previousSibling.previousSibling.click()">link</span> </label>