javascript - jQuery - braces of a POST request -
I got the following code for a jQuery request. I can not understand the braces, is it not closed before it has been done before. Always called the function?
var jqxhr = $ .post ("example.php", function () {alert ("success");)). (Function () {warning ("second success";}) .file (function () {alerts ("error")}} .ways (function () {warning ("end");)
It has been done, but it returns a jqXHR object, for which you still have the function Can apply, such as:
Comments
Post a Comment