I have a form: <form name="myform"> Show:<input name="age" type="text" size=40><br> <input type="submit" value="Submit"> </form> How to show the "Thank you" text in textbox when a visitor click on submit button? And is there a script can hide the form? After visitor click "Show" link, it shows? Thank you very much
There are a number of ways this can be achieved. You can use Javascript to set the value of the input field and hide the form. You could also add an action to the form element which loads another page from the server.