<html>
<head>
<script>
function checkMe(myBox)
{
if(myBox.checked)
{
form1.file1.disabled=false;
}
else
{
form1.file1.disabled=true;
}
}
</script>
</head>
<body>
<form name="form1">
<input type="checkbox" onclick="checkMe(this);">
<input type="file" name="file1">
</form>
</body>
<head>
<script>
function checkMe(myBox)
{
if(myBox.checked)
{
form1.file1.disabled=false;
}
else
{
form1.file1.disabled=true;
}
}
</script>
</head>
<body>
<form name="form1">
<input type="checkbox" onclick="checkMe(this);">
<input type="file" name="file1">
</form>
</body>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货