Skip to main content

You should use "required" instead of JQuery. By just one tagattribute it'll check input=file has file or not. Example:

<input type="file" required/>

You should use "required" instead of JQuery. By just one tag it'll check input=file has file or not. Example:

<input type="file" required/>

You should use "required" instead of JQuery. By just one attribute it'll check input=file has file or not. Example:

<input type="file" required/>
Source Link
Hardik Sondagar
  • 4.5k
  • 3
  • 30
  • 49

You should use "required" instead of JQuery. By just one tag it'll check input=file has file or not. Example:

<input type="file" required/>