Skip to content

Instantly share code, notes, and snippets.

@wireinet
Created March 5, 2020 13:05
Show Gist options
  • Save wireinet/8e2e634605f9cdfb17e63a333f9223b6 to your computer and use it in GitHub Desktop.
Save wireinet/8e2e634605f9cdfb17e63a333f9223b6 to your computer and use it in GitHub Desktop.
function rename() {
document.querySelector('selector').innerHTML = 'new name';
}
document.addEventListener("DOMContentLoaded", rename);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment