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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 47: Line 47:
</div>
</div>
<script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.has("fname")){
if (urlParams.has("fname") !== null && urlParams.has("fname") !== ""){
const firstName = urlParams.get("fname").charAt(0).toUpperCase() + urlParams.get("fname").slice(1); //Capitalize name
const firstName = urlParams.get("fname").charAt(0).toUpperCase() + urlParams.get("fname").slice(1); //Capitalize name
document.getElementById('donor-greeting').innerHTML = `${firstName}, s`;
document.getElementById('donor-greeting').innerHTML = `${firstName}, s`;

Revision as of 14:02, 24 October 2023

Support Wikipedia, your daily source of trusted knowledge.

Your support matters! Sustain this great fountain of knowledge built by people, for people. Keep Wikipedia thriving.