Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

jang walia
jang walia
7,717 Points

table

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
229,644 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.