图片触发问题
下面是代码有两个 可是好像都不对
<script language="JavaScript" >
function jsgo() {
window.location.href = "index.asp?page=" + document.getElementById("vpage").value;
}
</script >
<a href="#" onclick="javascript: jsgo();" ><input type=image src=pic/go.GIF>
<script language="JavaScript" >
function jsgo() {
window.location.href = "index.asp?page=" + document.getElementById("vpage").value;
}
</script >
<input type=image src=pic/go.GIF onclick="javascript: jsgo();" >
这两段代码是写在<td></td>中的