Month: July 2021

Preview an image before uploading using Javascript

In this article, you will see how to preview an image before uploading it to the Server. Previewing the image is the best user experience. The users could be able to see which image they are going to upload. Here we are going to use HTML, CSS, and Javascript to develop it. Let’s see how …

Preview an image before uploading using Javascript Read More »

File upload validations in javascript

In the web application, from the security point of view file upload validations are the most important parameter that needs to be considered by each developer especially when doing the file upload. The validations can be either client-side or server-side or maybe both. This article shows you how could you validate the File Type (Extension) …

File upload validations in javascript Read More »

Drag & Drop or Browse File upload in JavaScript

Uploading files is a common feature in modern web applications. Traditionally, file inputs have been implemented using the standard HTML <input type=”file”> element. In this article, you will see how to create a standard drag & drop file uploader user interface(UI) in javascript. Drag and drop upload makes it much easier for the user to …

Drag & Drop or Browse File upload in JavaScript Read More »