HTML5 File and FileList Objects

  Рет қаралды 10,332

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер
@farrellkatz2633
@farrellkatz2633 2 жыл бұрын
Thank you Steve. I had no idea that there was a list object derived from the html input type file. I learn new things from each of your videos. I also had no idea about console.group() or that putting an object inside of curly brackets in console.log() is similar to console.dir(). Thank you so much for sharing your vast knowledge and skills!
@abhimn7856
@abhimn7856 Жыл бұрын
Your channel is a hidden gem. Why you have only so many subscribers is beyond me
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Just waiting for you to tell your closest 100k friends. 😀
@kosnowman
@kosnowman Жыл бұрын
Steve your channel is a gem!
@yousoumar
@yousoumar 2 жыл бұрын
Really interesting idea of series. Can't wait to see more. Thank you Steve!
@alnajafyprogrammer3460
@alnajafyprogrammer3460 Жыл бұрын
you are best programmer in earth , may allah save you
@Colstonewall
@Colstonewall 2 жыл бұрын
Thank you, Steve. It is very much appreciated.
@midoone188
@midoone188 2 жыл бұрын
Welcome back to this list Thanks:)
@farouktouil5036
@farouktouil5036 2 жыл бұрын
Thank you, Instructive tutorial, well polished, can't wait for the next
@oghenekarouzezi4504
@oghenekarouzezi4504 Жыл бұрын
You don't have to call preventDefault method, you can pass a type attribute to the button element of button, thus it won't trigger a submit...
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Even setting type="button" on a button will trigger a submit in some browsers if it is the only button.
@creumakuzola4227
@creumakuzola4227 2 жыл бұрын
Excelent Video!!! Thank u so much!
@eric55099
@eric55099 7 ай бұрын
You've gotta be from heaven...Seriously Thank You
@RalphGoddard-tt1xq
@RalphGoddard-tt1xq Жыл бұрын
Thanks for the tips - I'll make those changes
@RalphGoddard-tt1xq
@RalphGoddard-tt1xq Жыл бұрын
I learned I can accept input type(s) in HTML - this is great. I am curious though, I have been using 'hidden' for the HTML line - input type="file"...hidden. My custom image select button works just fine.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
hidden is one of the types, like file, text, search, url, etc. So, do you mean that you are using CSS to hide your file input?
@HugePhils
@HugePhils Жыл бұрын
is there an introduction to Blob, what software do you need and all?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Blob stands for Binary Large Object - It's basically an array of binary values. I talk about them some here - kzbin.info/www/bejne/iZS9i6J-n5ygp7s Here I talk about TypedArrays - kzbin.info/www/bejne/i4rOe5SNaNWgoJI No special software needed. JavaScript can work with them.
@harimkim6803
@harimkim6803 2 жыл бұрын
Why not just use `visibility: hidden` in `.hidden` class? 13:19
@erectlocution
@erectlocution 2 жыл бұрын
He mentions that that becomes an accessibility issue, in that the element won't be picked up by screen readers.
@abcq1
@abcq1 2 жыл бұрын
Hello, prof Steve, and welcome back) Do you still accept requests on topics to cover?)
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
I do. Please post them here - kzbin.info/www/bejne/gnTIq5SuZ9qBacU
@abcq1
@abcq1 2 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Dear Steve, hello, and thank you for your response. I submitted the request.
@RalphGoddard-tt1xq
@RalphGoddard-tt1xq Жыл бұрын
I use the following html template to displays a button that opens a file selection window - hiding the default. I have also used this same text as a `template literal` in JavaScript Edge Dev Tools flags html 'hidden' as below - CSS input[Attributes Style] { display: none; } I have run this code in Edge and Chrome - it is my private CRUD program.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Ok. That works. You should avoid using onclick in your HTML though. Do all the event handling in the JS file. And the hidden is better if done through the CSS. You need to keep in mind the accessibility of your interface and how screen readers will handle it.
@dodokwak
@dodokwak 2 жыл бұрын
Thanks a lot.
@olawumisegun5898
@olawumisegun5898 2 жыл бұрын
I have been trying to upload dynamic image and input field to a backend api, anybody with a solution Below is how i want the form fields to look like: I want to upload an array of object with name and image of two authors of a book
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
kzbin.info/www/bejne/q5OrepSvf7Cbl8U
Uploading Multiple Files with Fetch
15:49
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 6 М.
Deep Dive into Blobs, Files, and ArrayBuffers
17:42
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 38 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
Everything HTML5 Drag and Drop
40:46
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 14 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
The Only Markdown Crash Course You Will Ever Need
22:16
Web Dev Simplified
Рет қаралды 110 М.
The Hidden World of requestAnimationFrame
9:22
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 33 М.
Why Majora's Mask's Blue Dog Took 25 Years to Win the Race
21:04
Vidya James
Рет қаралды 2,6 МЛН
What's inside a .EXE File?
8:27
Inkbox
Рет қаралды 440 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН