I am doing validation for my Youtube url text field.
I need to check, if the Youtube url does not exist I should throw error, I followed this answer an
Youtube
This is a known problem, see
jQuery Ajax 404 Handling
http://forum.jquery.com/topic/jquery-ajax-with-datatype-jsonp-will-not-use-error-callback-if-request-fails