How to truncate a string in JavaScript
How to truncate a string in JavaScript - Code Premix

How to truncate a string in JavaScript

  • Post category:JavaScript

Today we’ll show you how to truncate a string and add ellipsis in JavaScript. In this short article, we will…

Merge or combine arrays using JavaScript
Merge or combine arrays using JavaScript - Code Premix

Merge or combine arrays using JavaScript

  • Post category:JavaScript

Today we’ll explain to you how to merge or combine arrays using JavaScript. Here we show you multiple ways to…

Random Password Generator using JavaScript
Random Password Generator using JavaScript - Code Premix

Random Password Generator using JavaScript

  • Post category:JavaScript

Today we’ll show you how to generate a random password using JavaScript. Here, we’ll show you the most popular two…

Calculate age using JavaScript
Calculate age using JavaScript - Code Premix

Calculate age using JavaScript

  • Post category:JavaScript

In this short article, we will show you how to calculate age in years using JavaScript. We’ll learn how to…

How to convert XML to JSON in JavaScript
How to convert XML to JSON in JavaScript - Code Premix

How to convert XML to JSON in JavaScript

  • Post category:JavaScript

Today we’ll show you how to convert XML to JSON in JavaScript. In this article, we will show you how…

Sort an object array by date in JavaScript
Sort an object array by date in JavaScript - Code Premix

Sort an object array by date in JavaScript

  • Post category:JavaScript

In this article, we’ll show you how to sort an object array by date in JavaScript. When you are working…

Check and uncheck all checkboxes using jQuery
Check and uncheck all checkboxes using jQuery - Code Premix

Check and uncheck all checkboxes using jQuery

  • Post category:JavaScript

Today, in this short article we’ll share with you a simple code to check and uncheck all checkboxes using jQuery.…