Question
Javascript Function HELP: I have a form-label with an input box. When I type my name in the input text box, it gives the output:
Javascript Function HELP:
I have a form-label with an input box. When I type my name in the input text box, it gives the output: "hello 'Name'" (I have successfully completed this).I'm struggling with the 'clear button' at which is supposed to clear the output message and the string that was typed in the input text box. The function needs to clear the string entered in the text box input (we will call this 'nameIn') as well as the Output paragraph tag (we will call this 'nameOut') at the same time, in the same function. Let me know if you need a copy of my code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started