HTML5 File and FileList Objects

  Рет қаралды 9,553

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 29
@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. 😀
@yousoumar
@yousoumar 2 жыл бұрын
Really interesting idea of series. Can't wait to see more. Thank you Steve!
@eric55099
@eric55099 3 ай бұрын
You've gotta be from heaven...Seriously Thank You
@kosnowman
@kosnowman Жыл бұрын
Steve your channel is a gem!
@Colstonewall
@Colstonewall 2 жыл бұрын
Thank you, Steve. It is very much appreciated.
@farouktouil5036
@farouktouil5036 2 жыл бұрын
Thank you, Instructive tutorial, well polished, can't wait for the next
@midoone188
@midoone188 2 жыл бұрын
Welcome back to this list Thanks:)
@alnajafyprogrammer3460
@alnajafyprogrammer3460 8 ай бұрын
you are best programmer in earth , may allah save you
@creumakuzola4227
@creumakuzola4227 2 жыл бұрын
Excelent Video!!! Thank u so much!
@RalphGoddard-tt1xq
@RalphGoddard-tt1xq Жыл бұрын
Thanks for the tips - I'll make those changes
@oghenekarouzezi4504
@oghenekarouzezi4504 10 ай бұрын
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 10 ай бұрын
Even setting type="button" on a button will trigger a submit in some browsers if it is the only button.
@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.
@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 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.
@olawumisegun5898
@olawumisegun5898 Жыл бұрын
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 Жыл бұрын
kzbin.info/www/bejne/q5OrepSvf7Cbl8U
Handling Files for Web Apps
43:52
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 7 М.
Building Custom Response Objects
16:05
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 4,4 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 19 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 91 МЛН
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 13 МЛН
Deep Dive into Blobs, Files, and ArrayBuffers
17:42
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 36 М.
Revealing the Differences between HTML Dialogs and the Popover API
24:14
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 8 М.
Read a file using the FileReader API - JavaScript Tutorial
25:48
OpenJavaScript
Рет қаралды 21 М.
What is a File Format?
12:58
LiveOverflow
Рет қаралды 179 М.
Important differences between textContent and innerText
11:44
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,4 М.
Create Desktop Apps With Web Technologies - NW.js
12:58
Traversy Media
Рет қаралды 176 М.
Turning Form Data to CSV files with JavaScript
26:13
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 7 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 19 МЛН