标签:style io os ar for sp on cti html
<html>
<body>
<form method="post" name="f1">
<input type="text" name="predent" id="puf" />
<input type="button" value="浏览..." onclick="mc()" />
<input type="file" name="uf" id="uploadfile" style="display:none" onchange="mm()" />
</form>
<body>
</html>
<script>
$=function(id){return document.getElementById(id);}
function mc(){var _i=$("uploadfile");_i.click();}
function mm(){$("puf").value=(document.f1.uf.value);}
window.onload=function(){
}
</script>
标签:style io os ar for sp on cti html
原文地址:http://www.cnblogs.com/Mohf/p/4067401.html