When my page load. I want input file element has some default value. eg. Default file selected automatically when page load.
How can i do this?
When my page load. I want input file element has some default value. eg. Default file selected automatically when page load.
How can i do this?
You can't. If you could, you'd be able to steal files from a user's computer (because you can, after all, programmatically and automatically submit forms).