If I'm having a input button and I want to change the button to have some image.How can I do that?
Here;s another option you might want to have a look at. It's a tutorial we have on JavaScript Kit regarding the <button> tag...might be worth a [email protected]@K .
if you are talking about submit button, you can use input type=image. This functions the same as the normal submit button but with minor (or major) differences:
1. it does not fire form onsubmit event.
2. its name/value pair is not submitted to the server,
therefore, you will not detect if it's clicked or not
unless you put a hidden field containing which button is clicked.
Hello tnx for the fast reply
well no .. this is not what i meant
i meat say i have : <input type="button">
is there way to insert in side it as background maybe a-picture
(jog or gif ..)
tnx
Comment