Hi,
Is it possible to use images for a button instead of the normal button?
I am not trying to link it to another page over here but, getting it to trigger some event like a normal button.
Thanks alot.
Regards,
heels
Hi,
Is it possible to use images for a button instead of the normal button?
I am not trying to link it to another page over here but, getting it to trigger some event like a normal button.
Thanks alot.
Regards,
heels
Jump to Post<html> <head> <script type="text/javascript"> function showmsg() { alert("welcome!"); } </script> </head> <body> <input type="image" src="calendar.jpg" onclick="javascript: showmsg();" /> </body> </html>
Like this..
<html>
<head>
<script type="text/javascript">
function showmsg() {
alert("welcome!");
}
</script>
</head>
<body>
<input type="image" src="calendar.jpg" onclick="javascript: showmsg();" />
</body>
</html>
Like this..
This explains many options for submit buttons
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html
:'( I am lil too late to reply !
:'( I am lil too late to reply !
hahaha, so cute. Thanks guys. Will check out the website and try out nav33n's method too :). You're not too late but you gave me another idea to try too.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.