javascript

javascript

JavaScript program to close the current tab with OK/Cancel popup

In this JavaScript tutorial, we will learn how to close the current tab with a OK cancel popup.

Read
javascript

JavaScript program to disable a button on click

JavaScript program to disable a HTML button on click. We will write one HTML file with a javascript code to do that.

Read
javascript

JavaScript program to get the selected radio button value

JavaScript program to get the selected radio buttons from a list of buttons. We will write one html file and connect it with Javascript.

Read
javascript

JavaScript program to check if a number is power of another number

JavaScript program to check if a number is power of another number. We will learn how to solve it by using a for loop and by using a while loop.

Read
javascript

How to reverse a number in JavaScript

Learn how to reverse a number in JavaScript. We will learn three different ways to reverse a number using JavaScript in this post.

Read
javascript

JavaScript program to find the volume of a sphere

Learn how to find the volume of a sphere in JavaScript. The program will take the radius as input from the user and calculate the sphere volume.

Read
javascript

How to change the text color in JavaScript on button click

Learn how to change the text color of any component in JavaScript. This program will change the color of a paragraph component on button click events.

Read
javascript

Different index related methods in JavaScript array

Learn different index related methods of JavaScript array. We can use these methods to get the values in an array at different index positions in JavaScript.

Read
javascript

JavaScript program to find the lcm of two numbers

JavaScript program to find the lcm of two numbers. We will learn different ways to find the lcm of two numbers in JavaScript.

Read
javascript

JavaScript program to find the sum of all even numbers below a given number

JavaScript program to find the sum of all even numbers below a given number. This post will show how to find the sum with different examples.

Read