how to apply class on submit button such that it shows the desired submit image
i had an image which i want to be displayed instead of submit button. But i don want document.form.submit(); i.e
<input type="submit" value="" style="background:url("../images/submit.jpg");">
somewhat like this ... but m not getting it :( 开发者_StackOverflow社区so wat m i missing ?? plz help
There is an input type="image" for that.
Otherwise though, try to use single quotes inside the style argument.
精彩评论