Template:Appeal/FY2324 E3 XH/en: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 49:
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.has("fname")){
documentconst firstName = urlParams.getElementByIdget('donor-greeting'"fname").innerHTMLcharAt(0).toUpperCase() =+ `${urlParams.get("fname")}, s`.slice(1); //Capitalize name
document.getElementById('donor-greeting').innerHTML = `${firstName}, s`;
}
</script>