You have two input elements on your form - text field and button.
 <input type="text" id="txtBody"/> <input type="button" onclick="btnClick()"/> 
And you need to add a text "clicked" to the text field after clicking on the button. How will you do it?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes