jQuery(function() {




	jQuery("#archive-browser select").change(function() {


		jQuery("#archive-pot")

			.empty()

			.html("<div style='text-align: center; padding: 30px;'><img src='http://localhost/portalufpr/wp-content/uploads/images/ajax-loader.gif' alt='' /></div>");


		var y = jQuery("#ano").val();
		var m = jQuery("#mes").val();
		var c = jQuery("#genero").val();


		jQuery.ajax({


			url: "http://localhost/portalufpr/resultado-noticias/", 

			dataType: "html",

			type: "POST",

			data: ({

				"ano": y,

				"mes" : m,

				"genero" : c

			}),

			success: function(data) {

				jQuery("#archive-pot").html(data);

				}
			

		});


	});


});