原创 ajax請求方式

1.form序列化ajax $.ajax({url: "/add_host_ajax",type: 'POST',contentType: "application/x-www-form-urlencoded; charset=UTF-8"