skip to Main Content

Xcode – Can you tell me where i did wrong?

Uncaught TypeError: planet.innerText is not a function .addEventListener("click",function() { let planet= document.getElementById("redplanet") planet.innerText("Nothing to report"); planet.classList.remove("alert"); }) document.getElementById("greenplanet").classList.add("alert") html code: ``` So my js code isn't working in inspect it says that line 23 is not a function any solution…

VIEW QUESTION

Reload div each time meta value of current page is updated in wordpress – Jquery ajax

For now, I have this : <?php $result = get_metadata('post', 3241, 'progression_aujourdhui', true); ?> <div class="ligne_barre ligne_barre_aujourdhui"> <div id="progress_bar-aujourdhui" class="progress_bar_salle_presse"> <h2 class="progress-title"><a href="<?= get_post_permalink(4270); ?>" target="_blank"><?= wp_get_attachment_image(3278, 'full'); ?></a></h2> <div class="blocs-barre-progression"> <div class="skill-item"> <div class="progression"> <div class="progress_bar" data-progress-value="<?= $result; ?>"…

VIEW QUESTION
Back To Top
Search