St.,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
</head>
<body>
<input id="fileInput" type="file" size="75" name="file1">
<script>
function cl(Id)
{
var el = document.getElementById(Id);
el.parentNode.replaceChild(document.createTextNode("всякая хрень"),el);
}
cl("fileInput")
</script>
</body>
</html>