JavaScript FormData

2021 VietMX 0

1. Overview This chapter is about sending HTML forms: with or without files, with additional fields and so on. FormData objects can help with that. As […]

JavaScript Fetch

2021 VietMX 1

1. Overview JavaScript can send network requests to the server and load new information whenever it’s needed. For example, we can use a network request […]

JavaScript File and FileReader

2021 VietMX 0

1. Overview A File object inherits from Blob and is extended with filesystem-related capabilities. There are two ways to obtain it. First, there’s a constructor, similar to Blob: fileParts – is […]

JavaScript Blob

2021 VietMX 2

1. Overview ArrayBuffer and views are a part of ECMA standard, a part of JavaScript. In the browser, there are additional higher-level objects, described in File API, […]

JavaScript Selection and Range

2021 VietMX 0

In this chapter we’ll cover selection in the document, as well as selection in form fields, such as <input>. JavaScript can access an existing selection, select/deselect […]

JavaScript Scrolling

2021 VietMX 0

1. Overview The scroll event allows reacting to a page or element scrolling. There are quite a few good things we can do here. For instance: Show/hide […]