JavaScript

JavaScript: file upload with the XMLHttpRequest object

Uploading files in JavaScript can be done through the use of XMLHttpRequest (XHR), an object that allows you to send HTTP requests from a web client to a web server.

May 14, 2023
JavaScript

JavaScript: how to handle the dialog element

In this article we're going to explain the main differences between the two ways of handling a dialog element with JavaScript.

May 12, 2023
JavaScript

JavaScript: how to upload a file with axios

The axios JavaScript library is a powerful and versatile tool that allows to make HTTP requests to a server. Among its main features, it is possible to upload a file to a server.

May 8, 2023
JavaScript

JavaScript: the HTML5 dialog element

The HTML5 dialog element is an interesting feature that allows you to create customizable dialog boxes within a web page. In JavaScript, this element can be used to create user interactions that require feedback or confirmation.

May 8, 2023
JavaScript

JavaScript: how to submit a form with the Enter key

In this article, we're going to see how to submit a form with the Enter key in JavaScript.

May 2, 2023
JavaScript

JavaScript: how to save a JSON Web Token (JWT) and use it with the Fetch API

In this article we will see how to save a JSON Web Token (JWT) and use it with the JavaScript Fetch API.

April 30, 2023