
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 6710 Articles for Javascript

2K+ Views
In this tutorial, we shall discover the best online source to learn JavaScript. JavaScript is a client-side language for website development. JavaScript is handy for responsive website development. Learning JavaScript is essential because of the increased resource requirements. There are many free resources available to learn Javascript online. Let us look into this in brief. Online Sources to Learn JavaScript Tutorials Point Tutorials Point offers an online tutorials library for the best content on the latest technologies including C, C++, Java, Python, Javascript, PHP, Machine Learning, Data Science, AppML, etc. Tutorials Point also offers numerous Q&A articles on different technologies ... Read More

297 Views
The canvas JavaScript API is a powerful tool for creating and manipulating graphics on the web. It allows you to draw 2D graphics using JavaScript code and is supported by most modern web browsers. Game manipulation, animation, video processing, and many more are there from Canvas API. The canvas API is implemented in the form of a canvas element, which is an HTML element that can be placed in an HTML document. The canvas element is used as a drawing surface and can be styled and positioned using CSS. To draw graphics on the canvas, you can use the canvas ... Read More

37K+ Views
To display images on click using JavaScript and HTML. This article covers creating hidden images, adding click events, and revealing images dynamically for an interactive user experience. Users want to create an interactive web page where images are initially hidden and can be revealed with a click, enhancing user engagement and page load times. The challenge is implementing this functionality using JavaScript and HTML simply and efficiently. Approaches to Show Images with a Click Using the Style Display Property Using the classList.toggle() Method Using Hidden ... Read More

22K+ Views
To disable right-clicking on a website using JavaScript, you can use the contextmenu event to cancel the default behavior of the right−click. The contextmenu event is a DOM event that is triggered when a user right-clicks on an element in a user interface. It is a type of mouse event, similar to the click event, but it is specific to right-clicks. In JavaScript, you can use the addEventListener method to attach a contextmenu event listener to an element. The event listener function will be called whenever the contextmenu event is triggered on the element. Here's an example of how you ... Read More

350 Views
In this article, you will learn about the importance and role of the JavaScript language in the software industry. Where do we use the language and how it helps in production in the software companies everything we will get to know. JavaScript is one of the web development languages used to add functionality to the website. It makes the website interactive, robust, faster, and prettier. It's a scripting, interpreted language that can be directly compiled in a web browser like C, or CPP; it doesn't need a compiler to compile. Basically, to develop a website we need three basic languages: ... Read More

568 Views
In this article, you will get to know about various techniques using which you can make your website attractive and fast. Which will increase user engagement and make your website productive. Let’s first get to know about JavaScript. What is JavaScript? JavaScript is one of the web development languages used to add functionality to the website. It makes the website interactive, robust, faster, and prettier. It's a scripting, interpreted language that can be directly compiled in a web browser like C, or CPP; it doesn't need a compiler to compile. This is the reason behind it turning out to be ... Read More

4K+ Views
In this article, you will learn about how to get all the checked boxes on the other page using JavaScript. The checkbox is a type of selection that is a type of binary selection either true or false. It is an option of GUI form present on the page and using this we can take more input from the user. If a box is checked, it indicates true, which means that the user has selected the value and in case the box is unmarked then it indicates that the user has not selected the value. The difference between the checkbox ... Read More

3K+ Views
In this article let us understand how to use an HTML5 video tag to alter the playing speed of videos that are embedded in an HTML document. A number less than 1 slows down the video, a number greater than 1 accelerates the video, and then a number of 1 returns the video to its original pace. Also take note that playbackRate is a property and not an HTML attribute. Although you wouldn't want to change the playback rate for every video site, you can do this if you think your visitors will prefer it. This only takes one HTML ... Read More

3K+ Views
Since JavaScript is a loosely typed language, you are not required to correctly predict the kind of data that will be kept in a variable. Depending on the information you supply to a variable (such as this ‘ ‘ or " " to signify string values), JavaScript will automatically type it. The type of a variable, such as int, float, boolean, or String, must be declared in many other languages, including Java. This has both good and bad effects. Even though the type system in JavaScript allows for a lot of freedom, it lacks the ability of a highly typed ... Read More

613 Views
The stopPropagation() methods will be covered in this article along with a useful sample of the code. After that, we'll look at the difference between stopPropagation() and PreventDefault() Methods. stopPropagation() event method − The parent element cannot access the event using this method. In general, this function is created to prevent multiple calls to the same event from propagating. For example, if a button element is contained within a div tag and both of them have a onclick event, anytime we attempt to activate the event associated with the button element, the event associated with the div element is also ... Read More