- Forums
- Javascipt
- Hide Submit Button In HTML Web Form After Submit Button Clicked
javascript hide submit button in html form today i was wondering how i can have a web form and when the user submits the form, i wanted to show a picture instead. well, you can do this with javascript [816], Last Updated: Sat May 18, 2024
wallpaperama
Sat Jan 24, 2009
6 Comments
3025 Visits
today i was wondering how i can have a web form and when the user submits the form, i wanted to show a picture instead. well, you can do this with javascript, here i will show you how you can have an HTML web form with a submit button and when the users submits the form, it will show an image. so to display the image when the submit button is pressed, this is the code i can use:
HTML CODE:
<img
src="//www.wallpaperama.com/images/processing-bar.gif"
alt=""
border="0"
name = "loading"
id = "loading"
style = "display: none;">
<input type="button" name="AddLink" value="Add Link" onclick = "this.style.display = 'none'; loading.style.display = '';">