Skip to content

Instantly share code, notes, and snippets.

@LyndonArmitage
Created July 11, 2013 13:00
Show Gist options
  • Save LyndonArmitage/5975237 to your computer and use it in GitHub Desktop.
Save LyndonArmitage/5975237 to your computer and use it in GitHub Desktop.
<!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