SyntaxFix
Write A Post
Hire A Developer
Questions
This style is also possible:
$.get("mypage.html") .done(function(result){ alert("done. read "+result.length+" characters."); }) .fail(function(jqXHR, textStatus, errorThrown){ alert("fail. status: "+textStatus); })