How to show alert for the empty input after preventDefault()?

前端 未结 0 1803
陌清茗
陌清茗 2021-01-13 12:48

I want to show a window alert if the input data is not filled in. However, the if-else statement in js file is not working. I guess it\'s because of \'preventDefault()\', bu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题