Check if file exists but prevent 404 error in console from showing up [duplicate]

Is it possible to check to see if a file/page exists via JavaScript but prevent the 404 Error from showing up in the console?



Seems like the answer is: No. Can't avoid getting a 404 error in the console unless you kick off a call to a server-side script to check file existence.


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.