HTML5 & File Uploads
HTML5 & File Uploads
I was hoping to use HTML5's better support for file uploads, but seem to be stuck.
I was following this blog : http://www.matlus.com/html5-file-upload-with-progr...
But it appears to be a total waste of time, because the article said IE9 Beta didn't support the HTML5 File API, but I am using IE11 and still it won't work as I cannot access
CODE
$('#myFileInputID').files[0]
Does this mean HTML5 and file uploads is a waste of time, as IE is the most used browser and I'm not interested in any solution that doesn't include IE support.
I'm hoping I've just been looking in the wrong place and you guys can point me to a blog / tutorial / guide that will help me build better file upload UI/UX with HTML5.
Of course if IE9 RTM doesn't support any of this, then it's a no-go anyway as IE9/Vista is the HTML5 modern web watershed!
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
RE: HTML5 & File Uploads
And this works, so I guess that first link I pasted is simply wrong?
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
RE: HTML5 & File Uploads
I've yet to see the point in using modernizer and plethora of JQuery plugins, that require a tonne of fallback code for browsers that don't support it not to mention additional hidden fields for error messages etc. etc. , it's exactly how I did it before HTML5, so why code the same thing twice?
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
RE: HTML5 & File Uploads
RE: HTML5 & File Uploads
The frustrating thing is the available so called 'HTML5 Validation' JQuery plugins, simply don't work or offer a very poor attempt at HTML5 Form Validation.
I've spent the entire day faffing around with them to find I have no choice but to go back to HTML4 and the standard JQuery validation plugin.
h5validate = placeholders aren't working in IE9
html5Form = only works with inputs, not checkbox, select list etc.
As this blog states : http://stephenwalther.com/archive/2012/03/13/html5...
Having spent the day hunting and trying what I could find, I totally agree, the current HTML5 plugins are a waste of time, don't work and don't provide what we want -> HTML5 Form Validation!
Unless someone knows of a plugin that actually does work?
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
RE: HTML5 & File Uploads
http://afarkas.github.io/webshim/demos/
I found the following site is a good resource for checking browser compatibility and getting polyfills to bridge the gap.
http://html5please.com/
As I suspected, I had simply been looking in the wrong place previously - so hope it helps others
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music