JSFiddle - React, Tailwind, and code Playground
JavaScript
$.ajax("/echo/html/")
.done(function(){ alert("哈哈,成功了!"); })
.fail(function(){ alert("出错啦ss!"); });
$.ajax("/echo/html/")
.done(function(){ alert("哈哈,成功了!"); })
.fail(function(){ alert("出错啦ss!"); });