How I know if my input type=“file” has content selected

前端 未结 3 1793
囚心锁ツ
囚心锁ツ 2021-02-05 05:51

i have a simple input file but I\'m trying to validate after the post if the input file has content.

I

3条回答
  •  青春惊慌失措
    2021-02-05 06:13

    trying to validate after the post

    This would be something you would do server-side not on the client via jQuery. If you tag your question with the server-side language you're using we can then provide you with the help you need.

提交回复
热议问题