Code à coller dans le contenu de la page "Agenda".
<div id="anciennes-dates-une-foret-conteneur"></div>
<script src="js/jquery-3.6.min.js"></script>
<script>
function calendrierAjax(url, emplacement) {
fetch(url, {cache: "no-store"})
.then(response => response.text())
.then(function(result) {
$(emplacement).append(result.split('<article>')[1].split('</article>')[0]);
})
}
$(window).on('load', function() {
calendrierAjax('https://agenda.jolimai.net/calendriers/anciennes-dates-une-foret', '#anciennes-dates-une-foret-conteneur')
});
</script>
Copier