- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Shubham Vora has Published 962 Articles
Shubham Vora
6K+ Views
In this tutorial, we will learn how to get the value of the target attribute of a link in JavaScript. The target attribute specifies where to open the linked document or page. By default, its value is set to ‘_self, ’ which means the linked document should open ... Read More
Shubham Vora
19K+ Views
In this tutorial, we will learn how to get the number of seconds between two dates with JavaScript. There are different methods for checking the number of days, hours, and seconds that are commonly used to provide information related to data. Since you can’t manually change the count of the ... Read More
Shubham Vora
135 Views
In this tutorial, we will learn how to preselect a select list item using JavaScript. It is given an id attribute to be associated with a for accessibility purposes and a name attribute represents the name of the associated data point submitted to the server. element nestled inside ... Read More
Shubham Vora
596 Views
In this tutorial, we will learn how to invoke a JavaScript Function with the 'new' Function Constructor. Functions are a set of reusable codes that perform a specific task and may return a value. In JavaScript, functions are defined by the keyword function. A function may not have any parameters ... Read More
Shubham Vora
1K+ Views
In this tutorial, we will learn how to invoke a JavaScript Function as a method. In JavaScript, the code inside a function will execute when the function is invoked. We can invoke a function in a variety of ways. One of them is using the method. The method is a ... Read More
Shubham Vora
172 Views
In this tutorial, we will learn how to invoke a JavaScript Function as a function. Functions are a set of reusable codes that perform a specific task and may return a value. In JavaScript, functions are defined by the keyword function. A function has different parts, like a function name, ... Read More
Shubham Vora
3K+ Views
In this tutorial, we will learn how to initialize a boolean array in JavaScript. We can initialize a boolean array in JavaScript in three ways− Using the fill() Method Using the Array from() Method Using the for Loop Using the fill() Method We can initialize a boolean array ... Read More
Shubham Vora
7K+ Views
In this tutorial, we will learn how to include inline JavaScript inside an HTML page. Include inline JavaScript using onclick Event Just like an alert message showing up from the inline JavaScript inside an HTML page, we can also declare a function and call it. This method enabled us to ... Read More
Shubham Vora
1K+ Views
In this tutorial, we will look at a few ways to prevent duplicate JavaScript variable declarations and comparison between them from understanding which one is suitable in a given context. The best way to prevent duplicate variable declaration is to avoid creating global variables. Let’s move forward to discuss this. ... Read More
Shubham Vora
11K+ Views
In this tutorial, we will learn how to perform the numeric Sort in JavaScript. We can arrange the given numerical values by numerical sorting into ascending or descending order In JavaScript, we use the sort () method to sort numerical values. This method sorts the arrays of numbers, strings, and ... Read More