<html>
<head>
<script language="javascript">
function test(str)
{
alert(document.all("modify").value);
}
</script>
</head>
<body>
<form name="form1">
<input type="button" name="pacert_edit" value="修改" onclick="return test('hehe');" >
<input type="hidden" value="success" name="modify" id="modify">
</form>
</body>
</html>
<head>
<script language="javascript">
function test(str)
{
alert(document.all("modify").value);
}
</script>
</head>
<body>
<form name="form1">
<input type="button" name="pacert_edit" value="修改" onclick="return test('hehe');" >
<input type="hidden" value="success" name="modify" id="modify">
</form>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货