Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


jang walia
jang walia
7,717 Points


i have name, address and contact written in html input tags after click on button i want to show these values in another div with <th>name</th><th>address</th><th>contact</th> and ask user if the information is correct

kindly help... thnxxxx

1 Answer

Steven Parker
Steven Parker
216,045 Points

To make something happen when a button is pushed, you'll need some code either in a local script or in the server to process a submitted form. The easiest way would be to handle it in the browser with JavaScript.

If you'd like a course on how to use JavaScript to change things on a page, you might consider JavaScript and the DOM.