htmx/test/manual/file-input-test.html
2024-05-22 14:53:29 -06:00

15 lines
322 B
HTML

<html lang="en">
<head>
<meta charset="utf-8" />
<title>Scratch file to test file upload</title>
<script src="../../src/htmx.js"></script>
</head>
<body>
<form hx-post="/">
<input type="hidden" name="foo" value="bar">
<input type="file" name="file">
<button>Submit</button>
</form>
</body>
</html>