Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title>Check if File is PDF on the Client Side</title>
</head>
<body>
<form id="uploadForm">
<label>Upload a PDF: <input type="file" id="fileUpload" name="file" /></label>
</form>
<script type="text/javascript" src="js/checkPDF.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.