开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜