How to disable an anchor tag in HTML
Sometimes we may need to disable an anchor tag in HTML. There are so many ways to disable the a tag but in this article we will explain to you...
Sometimes we may need to disable an anchor tag in HTML. There are so many ways to disable the a tag but in this article we will explain to you...
Today we will show you how to convert a string into a camel case in JavaScript. There are many methods for converting a string to a camelCase, but we’ll look...
In the technical round of the interview, reversing a string is one of the most often asked JavaScript questions. Interviewers may ask you to write different ways to reverse a...
Converting a string to uppercase or lowercase is straightforward using the toUpperCase() or toLowerCase() methods. But here we will see how to check if a String is all UpperCase or...
In this article, we’ll show you how to use a variable in a Regular Expression pattern in JavaScript. Checkout more articles on JavaScript Scroll to a specific element using JavaScript...
We’re going to show you how to add an event listener to an iframe. In this article, we will see two different methods to add an event listener to an...
Today we will show you how to highlight the searched text using pure JavaScript code. We can also highlight the text using jQuery library but here we will use the...
In this article, we will show you how to preview selected image from input type file using jQuery. Sometimes we may need to display the image before it is uploaded....
If you want to implement a draggable sortable bootstrap table row then you can achieve it easily using the jQuery ui. We can generally use it when we need to...
In this JavaScript article, we will show you how to capitalize the first letter of a string using JavaScript. There are many ways to uppercase the first letter of a...
If you want to reload or refresh the page automatically after a certain time, you can do it using JavaScript. In this article, you will see three different methods to...
We were trying to sort an array of objects which contains a status key which has “active”, “inactive”, “pending”. So we just wanted to sort the array in such a...
In this article, we will show you how to add / remove / toggle an HTML element’s class using JavaScript. There are two different properties called className and classList to...
Today we will show you how to prevent the submit form on enter key except the textarea using jQuery. In a real project, you may need to restrict the entry...