Prevent browser errors when getting 404 responses on xhttprequests?

Prevent browser errors when getting 404 responses on xhttprequests?

I have a use case where i send several requests via $.ajax, where some of the calls return a 404 status code.
This is fine for me, as i can simply ignore them.

My problem is, that at least chromium complains about resources that failed to load. I know this is not directly a jquery question, but i'd like to prevent the error from bubbling to the browser.

any ideas?
    • Topic Participants

    • andi