I would like a span to update when a value is entered into a text field using jquery.
My form field has a text box with the name “userinput” and i have a span with the id “inputval”.
Any help would be greatly appreciated.
I would like a span to update when a value is entered into a
Share
UPDATE:
although you marked this as the correct answer, note that you should use the keyup event rather than the change event or the keydown