jQuery handle/hide expected Ajax 404 Error -


i use ajax head request check file. in cases file wouldn't exist , nice somehow prevent 404 show in debug console. there nice way achieve that?

just clear: http://jsfiddle.net/kannix/ffldp/

no, unfortunately, cannot.

404 errors handled internally, cannot suppress error, not overwriting error events in javascript or try-catching it.

you write serverscript check if file exists , call 1 check if file exists before calling file might not exist.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -