Menu
Hey,
I have this kind of a button on my page:
[CODE]<button id=”buttonM” onMouseDown=”myFunction()”><img src=”multi.png”></button>
So every time when I press that button, the page gets refreshed.
Here’s the code of myFunction() :
[code]
myFunction()
{
alert(“What’s up?”);
}
The reason, that I use the <button> -tag instead of <input type=”button”> is that I use images in the button. How can I disable the refresh?
– Ceox