What I’m trying to do is display whatever is typed within an input field simultaneously inside of a <p> tag.
For Example:
If the name Mark is typed into the input field, i would want “Mark” displayed somewhere else on the page inside of a <p> tag and the letters are typed in the input field it displays each etter as its being typed… is this possible?
inline scripting still has its place but it’s generally frowned upon nowadays as part of the higher emphasis on keeping content, styling and functionality as separate as possible.
I’m going to be using the input field for names, for something as simple as that would you say the jquery method or the onkeyup method would be better to use?
But who knows how much extra code jQuery runs in the background to perform the same task. I suspect it’ll be a lot more lines of code than 3-4 max it would take without jQuery.