#12006/5/4 19:44:31
请教下面的javascript代码中那里错了?
<html>
<head>
<script>
function a_onclick() {
var a = document.a;
Integer i = Integer.parseInt(a.hid.value);
i += 1;
a.hid.value = Integer.toString(i);
}
</script>
</head>
<body>
<form name="a" id="a">
<input type="hidden" name="hid" id="hid" value="1">
<a name="href" id="href" onclick="a_onclick();">onclick</a>
</form>
</body>
</html>