This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<form name="uploadForm"> | |
<table> | |
<tbody> | |
<tr> | |
<td>Select Image - <input id="uploadImage" type="file" /></td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am pmturner on github. | |
* I am pmturner (https://keybase.io/pmturner) on keybase. | |
* I have a public key ASALLSsh9Am-jjrRNJe8DAFZCo2mfQ6TTptMFVTHskL05Qo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function toWords(s) { | |
s = s.toString(); | |
s = s.replace(/[\, ]/g, ''); | |
if (s != parseFloat(s)) return 'not a number'; | |
var x = s.indexOf('.'); | |
if (x == -1) x = s.length; | |
if (x > 15) return 'too big'; | |
var n = s.split(''); | |
var str = ''; | |
var sk = 0; |