Can anyone tell me how to use an image instead of a button to display an alert message. I.e. how what do I put in the input type in place of button and what about the value?
function saySomething(message){
alert(message)
}
<form action = "#"
<input type="button" value="Welcome"
onclick="saySomething('Welcome to my page')"/>
</form>
Any help appreciated.



