blob: aff39f96e8f9279c26a9d0f457c97b404a2183c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Default title</title>
</head>
<body>
<input type="file" name="file" id="upfile" accept="">
<script>
window.onload = function() {
document.getElementById("upfile").focus();
}
function setAcceptType(acceptType) {
document.getElementById("upfile").accept = acceptType;
document.title = acceptType;
}
</script>
</body>
</html>
|