how to access variable jquery from ajax : i have following code :

 $('#postTrx').click(function(){

	var hargaBrg = $("tbody").find("tr").eq(i).find("td").eq(3).text();
	var id = $("tbody").find("tr").eq(i).find("td").eq(0).text();
	var jumlah = $("tbody").find("tr").eq(i).find("td").eq(4).text();
		
	$.ajax({
			
		type : "post",
		url : "input_pembelian.php",
		data: "{'idBeliBarang':" + id + ",'harga':'" + hargaBrg + "','jumlah':'" + jumlah + "}",					
		});
			
});

How to access jquery variable from ajax? 