adam12 Posted March 25, 2022 Share Posted March 25, 2022 (edited) I have a html form that has say 3 text input fields and I want to dynamically change the text in a h2 whenever (on any key press during entry) the content of these 3 text fields changes. I'm thinking that this could be done somehow with a java script but have no idea how. Perhaps the following might help clarify: <h2>This topic describes [field value 1] at [field value 2] in [field value 3]</h2> So the h2 would dynamically change as input fields 1, 2 or 3 are being entered. Hoping someone can help. Edited March 25, 2022 by adam12 Link to comment Share on other sites More sharing options...
Ingolme Posted March 25, 2022 Share Posted March 25, 2022 Have you gone through the Javascript tutorial? You should have enough information after reading it to be able to solve this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now