TeaAddictedGeek
Programmer
Is there any way to prevent an input button from causing a postback or the page to reload? I have input image button (regular HTML, not ASP.NET button) toggling a Javascript function to both change its image and toggle a div to visible versus not visible. It works just fine and you see it working--then the page reloads and it goes back to the defaults for both the input image button and the div.
Any ideas on how I could fix this?
Thanks in advance!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum
Any ideas on how I could fix this?
Thanks in advance!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum