Skip to content

reissjones/autoInputTextContentReplacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

autoInputTextContentReplacer

This is a tiny script that clears and restores a default value for an input in HTML.

Requirements

  • Set an info attribute and value attribute in the target element.
  • Set the info attribute to the same value as the info element.
  • Call with onfocus for clearValue() and onblur for restoreValue().

If you have any problems please open a new issue.

About

This is a tiny script that clears and restores a default value for an input in HTML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published