<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改input标签type=file类型的文字</title>
</head>
<body>
<div class="form-group">
<label for="browsefile">视频地址</label>
<input type='file' id='browsefile' style="display: none" onchange='filepath.value=this.value'>
<input type='textfield' id=filepath>
<input type='button' id='filebutton' value='浏览' onclick="browsefile.click()">
</div>
</body>
</html>
网友评论