codice:
function prova(x) {
JQ("#id").html();
	
JQ.ajax({
        type: "POST",
        url: 'percorso.php',
        data: "x=" + x,
			 
		
        dataType: "html",
        success: function(msg)
        {
                JQ("#id").html(msg);
				
                QUESTO è L'EVENTO PER FAR PARTIRE I TUOI SCRIPT    
        },
        error: function()
        {
        alert("Chiamata fallita, si prega di riprovare...");
        }
});