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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -