var donationTotalContent = document.getElementById("donation-total-widget-content"); donationTotalContent.setAttribute("id", "donation-total"); donationTotalContent.innerHTML = "

£267.50<\/p>";