File API: Learn how to access files from JavaScript

· J.D Gauchat
ਈ-ਕਿਤਾਬ
19
ਪੰਨੇ
ਯੋਗ

ਇਸ ਈ-ਕਿਤਾਬ ਬਾਰੇ

 Learn how to use the File API to load files from the user's computer. After reading this guide, you will know how to read and process files, how to show their content on your website, and how to control the process using events.

Table of Contents

FILE API

Files

Loading Files

Reading Files

Properties

Blobs

Events

QUICK REFERENCE

Reader

Files

Methods

Events

Progress

This guide assumes that you have a basic knowledge of HTML, CSS and JavaScript, and you know how to create files and upload them to a server. If you don't know how to program in HTML, CSS or JavaScript, you can download our guides Introduction to HTML, Introduction to CSS, and Introduction to JavaScript. For a complete course on web development, read our book HTML5 for Masterminds.

This guide is a collection of excerpts from the book HTML5 for Masterminds. The information included in this guide will help you understand a particular aspect of web development, but it will not teach you everything you need to know to develop a website or a web application. If you need a complete course on web development, read our book HTML5 for Masterminds. For more information, visit our website at www.formasterminds.com.

ਇਸ ਈ-ਕਿਤਾਬ ਨੂੰ ਰੇਟ ਕਰੋ

ਆਪਣੇ ਵਿਚਾਰ ਦੱਸੋ

ਪੜ੍ਹਨ ਸੰਬੰਧੀ ਜਾਣਕਾਰੀ

ਸਮਾਰਟਫ਼ੋਨ ਅਤੇ ਟੈਬਲੈੱਟ
Google Play Books ਐਪ ਨੂੰ Android ਅਤੇ iPad/iPhone ਲਈ ਸਥਾਪਤ ਕਰੋ। ਇਹ ਤੁਹਾਡੇ ਖਾਤੇ ਨਾਲ ਸਵੈਚਲਿਤ ਤੌਰ 'ਤੇ ਸਿੰਕ ਕਰਦੀ ਹੈ ਅਤੇ ਤੁਹਾਨੂੰ ਕਿਤੋਂ ਵੀ ਆਨਲਾਈਨ ਜਾਂ ਆਫ਼ਲਾਈਨ ਪੜ੍ਹਨ ਦਿੰਦੀ ਹੈ।
ਲੈਪਟਾਪ ਅਤੇ ਕੰਪਿਊਟਰ
ਤੁਸੀਂ ਆਪਣੇ ਕੰਪਿਊਟਰ ਦਾ ਵੈੱਬ ਬ੍ਰਾਊਜ਼ਰ ਵਰਤਦੇ ਹੋਏ Google Play 'ਤੇ ਖਰੀਦੀਆਂ ਗਈਆਂ ਆਡੀਓ-ਕਿਤਾਬਾਂ ਸੁਣ ਸਕਦੇ ਹੋ।
eReaders ਅਤੇ ਹੋਰ ਡੀਵਾਈਸਾਂ
e-ink ਡੀਵਾਈਸਾਂ 'ਤੇ ਪੜ੍ਹਨ ਲਈ ਜਿਵੇਂ Kobo eReaders, ਤੁਹਾਨੂੰ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਨ ਅਤੇ ਇਸਨੂੰ ਆਪਣੇ ਡੀਵਾਈਸ 'ਤੇ ਟ੍ਰਾਂਸਫਰ ਕਰਨ ਦੀ ਲੋੜ ਹੋਵੇਗੀ। ਸਮਰਥਿਤ eReaders 'ਤੇ ਫ਼ਾਈਲਾਂ ਟ੍ਰਾਂਸਫਰ ਕਰਨ ਲਈ ਵੇਰਵੇ ਸਹਿਤ ਮਦਦ ਕੇਂਦਰ ਹਿਦਾਇਤਾਂ ਦੀ ਪਾਲਣਾ ਕਰੋ।