I was having something like this:
This works fine for one specific input field. But now I would like to make it work for a number of others input fields, and not only txtOutro.
I believe the way to do this is to add an argument on our function that accepts the id of our input field, and use it inside.
If this is the way to go, how can we add a variable on this line?
I've tried this but no luck:
Thanks in advance,
I know it's a very basic question, but I don't even know the name of a line like this, so I cannot search "variable inside a document." on google with success.