In this tutorial, you will learn how to compare two arrays in javascript. Arrays can store items of different data types. In one array, we can have integer type, string type, or even object type simultaneously. But I assume you want to compare two arrays if they have items of similar data type. We will
In this tutorial, you will learn how to display current date and time in javascript. If you are in web development, then it is pretty much common that here and there you will encounter a situation where you have to display the date and time to your website visitors. A good example can be displaying
In this tutorial, you will learn how to get selected value from dropdown in javascript. A dropdown list contains a bunch of options and based on the selected option, we can execute a certain piece of code. This can only happen efficiently if you know the right way to do it. A good example can
In this tutorial, you will learn how to disable a radio button in javascript. We only disable an element when we do not want any sort of user interaction under certain circumstances. A good example can be of a website where we have 2 kinds of users, free and pro. Pro users will have access
In this tutorial, you will learn how to compare two strings in javascript. The string is one of the built-in types in javascript and when it comes to web development, text content plays a major role. When we talk about string comparison, we simply want to know if two strings are equal or not. There