How can I make so that if ajax response returns nothing, then throw alert on the browser?

后端 未结 0 1641
北海茫月
北海茫月 2020-12-24 03:16

how would I handle a situation where upon onclick - if the ajax response returns nothing, then throw an alert();. I\'ve tried so many ways to tackle this but t

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