Skip to content
Advertisement

Replace Textarea Input With JQuery

I am attempting to automatically replace input from a HTML textarea for specific phrases (for example “a” with “asdf”). My code below works for HTML input boxes, but does not work for textarea. Is there a way to fix it for textarea?

HTML:

JavaScript

JS:

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement