Introduction to JavaScript

In the JavaScript tutorial, we will learn about JavaScript basics, which is scripting and lightweight interpreted programming language it helps to create dynamic web pages. Basically, It facilitates the development of excellent front-end and back-end applications using JavaScript-based frameworks such as jQuery, Node.JS, and others. Note: HTML and CSS give your page structure and style, while JavaScript … Read more

JavaScript Syntax

JavaScript syntax is the set of rules that define a correctly structured JavaScript program. JavaScript consists of JavaScript statements that are placed within the <script> </script> HTML tags in a web page, or within the external JavaScript file having .js extension. JavaScript Syntax- Attributes JavaScript has two following attributes: JavaScript Syntax – Values JavaScript syntax can be defined by … Read more

jQuery Ajax Form Submit with FormData Example

jQuery Ajax submit multipart form or FormData; In this tutorila, you will learn how to submit the form using the jquery ajax with multi-part data or FromData. In this tutorial, learn jquery ajax form submits with the form data step by step. A simple jQuery Ajax example to show you how to submit a multipart … Read more

JavaScript String indexOf(): Find Occurrence Position in String

In this tutorial, you will learn how to find the first occurrence of a character’s position in a string using the JavaScript string indexOf() method. The indexOf() method in JavaScript is used to find the first occurrence of a character in a given string. It returns the position of the first occurrence of the character … Read more

Get Current Page URL, Path, Host and hash using jQuery

Get current Page URL, Path, and hash using jQuery; In this tutorial, you will learn how to get the current page URL, pathname, hostname, origin using the jQuery. Let’s start the tutorial to find the current page URL and find the pathname, hostname, origin from the current page URL using jQuery with example. How to … Read more

JavaScript Date Formats

Date objects represent a single moment in time in a platform-independent format. There are commonly 3 types of input JavaScript date formats: JavaScript Date Formats – Time Zones JavaScript will use the browser’s time zone when we set a date, without specifying the time zone. Short Dates The “MM/DD/YYYY” syntax is used for short dates: … Read more

JavaScript Dates

In the JavaScript Dates topic, you can learn how JavaScript supports date and you can create it. Date objects represent a single moment in time in a platform-independent format. Time-zones There are hundreds of time zones in our world. In JavaScript, we only care about two—Local Time and Coordinated Universal Time (UTC). By default, almost … Read more

JavaScript Data Types

JavaScript Data types have an important concept in JavaScript. It contains various data types such as numbers, objects, strings, and more. Java Script executes expressions from left to right different sequences will give different results. JavaScript Types are dynamics means that we can use the same variable to execute the different data types: JavaScript Data … Read more

JavaScript Operators

JavaScript Operators are special symbols used to perform operations on operands (values and variables). JavaScript operators include operators as in other languages. For example, 1 * 2, where * sign is an operator and 1 is left operand and 2 is a right operand. + operator adds two numeric values and produces a result which … Read more

JavaScript Statements

In programming, instructions executed by a computer are called statements. There is a list of JavaScript statements. JavaScript programs are executed by a web browser in HTML. JavaScript statements are the individual instructions that make up a JavaScript program. These statements are executed line by line, from top to bottom, and perform a specific action. … Read more