Trigerring error() on a cross-domain AJAX request
Opera was the only browser that triggered the error function when an illegal cross-domain AJAX request was being tried via jQuery.
FireFox, Chrome & Safari :
sending ...
success : data =
complete : textStatus = success
success : data =
complete : textStatus = success
Opera :
sending ...
error : textStatus = null, errorThrown = ReferenceError: Security violation
complete : textStatus = undefined
error : textStatus = null, errorThrown = ReferenceError: Security violation
complete : textStatus = undefined
Internet Explorer just didn't fire any of the events - the debugger reported a security violation.
AJAX, JavaScript | Monday, August 09, 2010 |
0 comments:
Post a Comment