-3

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?

1 Answers1

0

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).

T.J. Crowder
  • 1,031,962
  • 187
  • 1,923
  • 1,875