Skip to content

Instantly share code, notes, and snippets.

@DaveVoyles
Created March 14, 2015 17:47
Show Gist options
  • Save DaveVoyles/a72e7d9b57fc45b49aca to your computer and use it in GitHub Desktop.
Save DaveVoyles/a72e7d9b57fc45b49aca to your computer and use it in GitHub Desktop.
input.addEventListener('input', function (e) {
playerElement.setAttribute('text', input.value);
xPokemon.name = input.value;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment