i am wondering where i need to use async: false, or async: true
Jquery Ajax Method
i have one form with fields and when i click on button i am calling jquery ajax method to save value from this fields to server
$.ajax({
url: "../Member/Home.aspx/SaveClient",
type: "POST",
async: false,
dataType: 'json',
contentType: 'application/json; charset=utf-8',
data: "{'projectSoid': '" + $("#hdnValueProjectSoid").val()
+ "', 'name': '" + Name
+ "', 'industry ': '" + Industry
+ "', 'descriptions ': '" + Descriptions
+ "', 'employment ': '" + Employment
+ "', 'email ': '" + Email
+ "', 'phone ': '" + Phone + "'}",
success: function (response) {
if (response.d != null) {
},