INPUT /  OUTPUT /  LANGUAGE





onInput field

Code field

Code carried out each time the user changes the text in an editable tag.

Applies to...

The input tag, and tags with editable=true.

Sample usage

Behaviour

A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.

The tag's primary field already holds the changed text when the code runs.

Notes

Code that runs on every keystroke can make the console's busy state flicker. Print <console.busy false> to turn it off.

See also