i wanted to bring this variable receiving_id
inside the php link to process the link and insert the variable in the VAR_HERE
<script type="text/javascript">
$(document).ready(function(){
var receiving_id = $(this).attr('data-receivingId');
$.ajax({
url: "{{ route('acknowledge', ['receiving_id' => VAR_HERE, 'remark_id' => $data->remark_id, 'data_id' => $data->data_ids[0]]) }}",
method: 'GET',
});
});
</script>