i can't send data to controller. my code is :
var csrf = Cookies.get('truelogokoption');
$.ajax({
url : baseURL +"checkout/hasilFilter",
type : "GET",
data : {destination: x, berat: y, courier: z} + "&starssecure=" + csrf,
success: function (ajaxData){
//$('#tombol_export').show();
//$('#hasilReport').show();
$("#hasil").html(ajaxData);
}
});
There is something wrong with the "data" ? thanks