标签:OLE ola func bootstra for roc sda conf sel
$("#postEmail").click(function(){
var email_address = $("#email_address").val();
var rows = $(‘#selectTable‘).bootstrapTable(‘getSelections‘);//行的数据
$.ajax(
url:config.send_email,
data:{"data": JSON.stringify({"result":rows}),"email_address":email_address},
type: "POST",
dataType: "json",
success: function (result) {
alert("推送成功!")
},error:function(error){
console.log(error)
}
})
})
})
ajax:
请求头
type:‘POST‘, data:formData, dataType:‘json‘, contentType:false, // async: false, //异步请求 // cache: false, //是否缓存 processData: false,
标签:OLE ola func bootstra for roc sda conf sel
原文地址:https://www.cnblogs.com/marvelousone/p/11004904.html