I have a javascript / HTML5 page that I want to use to pull out a file and check each line to see if it exceeds 240 characters:
EDIT: I have things that understand correctly, but they do not display correctly. Here is my updated code:
<!DOCTYPE HTML> <html> <head> <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> </head> <body> <input type="file" id="input" name="file" multiple /> <br> <output id="files"></output> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script> if (window.File && window.FileReader && window.FileList && window.Blob) { </script> </body> </html>
I can run the trace and see that the output variable fills correctly, but all I get for the output is: Paths with more than 240 characters: without rendering the part of output.join() correctly - any thoughts?
javascript html5
fox
source share