Shubham Vora has Published 957 Articles

How to send FormData objects with Ajax-requests in jQuery?

Shubham Vora

Shubham Vora

Updated on 08-Dec-2022 11:31:57

15K+ Views

In this tutorial, we will learn How to send FormData objects with Ajax requests in jQuery. The FormData object stores value in the form of key-value pair. It mainly sends form data to the server with HTTP requests. If the form’s encoding type had been set to multipart/form-data, the submitted ... Read More

Why split the <script> tag when writing it with document.write()?

Shubham Vora

Shubham Vora

Updated on 07-Dec-2022 11:12:25

1K+ Views

In this tutorial, we will learn why to split the tag when writing it with the document.write(). The script tag in HTML is added to execute JavaScript code on the webpage. The JavaScript programs must be enclosed with the script tag to execute. There are many methods in JavaScript ... Read More

POST unchecked HTML checkboxes

Shubham Vora

Shubham Vora

Updated on 07-Dec-2022 10:14:03

5K+ Views

In this tutorial, we will learn to POST unchecked HTML checkboxes. To interact with a user, it is necessary to take their input or data through the website. The HTML forms are used to take input from the user. Forms are essential to take the data of the user on ... Read More

What are Max parallel HTTP connections in a browser?

Shubham Vora

Shubham Vora

Updated on 07-Dec-2022 09:59:54

10K+ Views

In this tutorial, we will learn about Max parallel HTTP connections in a browser. To know more about this topic, we will first understand what parallel connections are, the reasons behind blocking and how to solve it, and the browser limitations. Parallel Connections By entirely requesting the original HTML page, ... Read More

Is it possible to write data to file using only JavaScript?

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 12:37:50

452 Views

In this tutorial, we will learn if it is possible to write data to files using only JavaScript. JavaScript has a library named fs (short form of File-System) that manages all writing operations. It is a JavaScript program (fs.js) with functions for writing operations. Utilize functions to write text to ... Read More

How to store objects in HTML5 localStorage?

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 12:34:00

1K+ Views

In this tutorial, we will discuss how to store objects in HTML5 localStorage. We can access the Storage object and store data in it thanks to the interface window's localStorage property. There is no time limit on it. As a result, the data that is stored in it will remain ... Read More

How to Access the Correct “this” Inside a Callback?

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 12:19:17

564 Views

In this tutorial, we will learn about how to Access the Correct “this” inside a callback. “this” keyword Each function contains a keyword called this, also known as “the context, ” whose value is determined by how the function was called and not by how, when, or where it was ... Read More

How Does the Access-Control-Allow-Origin Header Work?

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 12:14:30

4K+ Views

In this tutorial, we will learn how access control allows the origin header to work. Access-Control-Allow- Origin is a header for CORS. With CORS or cross-origin resource sharing, browsers can permit a website hosted at origin A to request resources from origin B. Origin is a mix of port, hostname, ... Read More

Difference between an Absolute URL and a Relative URL

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 12:03:04

23K+ Views

In this tutorial, we will learn the difference between an absolute URL and a relative URL. What is a URL? A Uniform Resource Locator (URL) is an address that indicates the location of a specific file or resource on the World Wide Web (WWW). A URL specifies the site of ... Read More

How to add HTML and CSS to PDF?

Shubham Vora

Shubham Vora

Updated on 06-Dec-2022 11:39:20

9K+ Views

In this tutorial, we will learn how we can add HTML and CSS to PDF. The HTML and CSS construct the webpages with styles and designs. We can save that webpage as a PDF file. Creating a PDF from scratch using vanilla JavaScript makes it very difficult, and the code ... Read More

Advertisements