﻿$(document).ready(function(){
	$.ajaxSetup({
        scriptCharset: "iso-8859-1",
        cache: false
	});
	$("a.evento").click(function(){
		var val = $(this).attr('href');
		$.ajax({
			url: "mostrar_event.php",
			type: "POST",
			data: ({data: val}),
			timeout: 1000,
			error: function(){ alert("Error"); },
			success: function(response){
				$("#resultat").html(response);
				return false;
			}
		});
		return false;
	});
});



