64. 伪善
ady(function($) { $("#books-order10372237").off("click").on("click", "#btn_submit_order",function(event) { var data = $("#books-order10372237").serializeArray(); var url = 'https://o./order/buy_article'; var item = $(this); // item.val("處理中..."); item.prop( "disabled", true ); $.ajax({ url: url, type: 'post', dataType: 'json', data: data, crossDomain: true, xhrFields: { withCredentials: true }, cache: false, headers: {'X-Requested-With': 'XMLHttpRequest'}, success: function (response) { if (response.data.success == true) { $("#popo_stauts10372237").html(response.data.html);