我使用 Post 方法在 html 表单中有以下内容。
<input type="submit" title="" class="myclass" value="" />
和:
.myclass {
background: url(../images/image1.png) no-repeat; border: none;
width: 165px;
height: 59px;
}
基本上,我需要使用 image1.png 按钮发布我的表单信息,当悬停时,会调用 image2.png。你会推荐 CSS 或 javascript,具体的方法是什么?
谢谢大家,已回复!