$(document).ready(function() { 
    $("#vendor_region").change(function(){
	vendor_id = $(this).attr('value');
	$.post("/get_factures.php",{"vendor_id": vendor_id},sAfterRegion);
    }); 
}); 

function sAfterRegion (data){
    $("#facture_region").empty();
    $("#facture_region").append(data);
} 

