function search () {
// var data=$(".modal").serializable();
$.ajax({
url:"http://145.78.155.348:84/recruitment/Recruit,
type:"post",
dataType:"json",
data:{
index:1,
pageSize:4,
name:$("-sharpname").val(),
},
success:function(){
console.log("asgdh");
alert("success")
},
error:function(){
console.log("dfffg");
}
})
}
is this how post passes parameters