Log in

View Full Version : How to Auto Select a file automatically in INPUT File Dialog Box



nvdgl
01-18-2016, 02:48 AM
hi friends i have a problem is that how to auot select the filename in the input id ="personalPhoto" like "AC8003032" and then auto click the open button automatically.. thankx in advance

<html>
Select...</span>
<input id="PersonalPhoto" name="PersonalPhoto" type="file"/>
</div>`enter code here`
</html>


IE.Document.getElementById("PersonalPhoto").Click
IE.Document.getElementById("PersonalPhoto").FileName.Value = AC8003032