Automatically display?

my test form is

www.chasebadkids.net/tail.php

I want the form to automatically show the code or answer when a form button is selected, how would I go about this? Its with javascript correcT?

please and thank you.