Eliminate 404 url error in console?

前端 未结 4 1816
长情又很酷
长情又很酷 2020-12-19 02:20

I try to eleminate an 404 error occuring because the source (src) is missing..

var $chart = $(\"\")
    .addClass(\"trend-pic\")
    .error(func         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 02:54

    Just the answer is No.Because this is the only way Server send "there is a Error".

    Refer this one.

    Prevent 404 Error in console

提交回复
热议问题