Posts

Showing posts from 2025

Cryptography using Javascript

Image
Introduction: Hello Guys, “ Welcome back” Today i am here with another one new great article. In this article I will explain about how to implement cryptography using Javascript. Guys, in this article i am using CryptoJS AES library for encryption and decryption using Javascript.   Introduction about CryptoJS AES JavaScript library CryptoJS AES Javascript library is a Javascript based encryption library use for encryption and decryption on Client end. For learn complete article on CryptoJS AES Javascript library , please follow below link. https://cryptojs.gitbook.io/docs HTML code On the HTML page there will be Two Controls, one is text box with the id named txt_input for to enter the input by the user and this text will convert capturing plain text to be encrypted. And other one control is two Button. These buttons will perform encrypting and decrypting function. Here I will assign Javascript onclick event handler to the buttons. And another control is SPAN for sho...

Lolipop Chart using JQuery

Image
  Introduction: Hello Guys, “ Welcome back” Today, i am here with another one new great article. In this article I explained about the implementation of funny named Lolipop Chart using JQuery. In this article I am using the concept of High Charts. For more information you can visit website of High Chart Implementation : In this article, I am giving example of Result of Top 10 Schools of India in year 2024. In this chart i am showing Result in % for all the schools of India. You can see school name with the result in this chart. In this article I am giving static data but you can create it dynamically by using the values of Database. For creating it dynamically you need to create the for loop at the time of passing parameters as values to the program. You can check in my list of articles. In last article I already created chart concept with dynamically data from database. Here I am using for loop. And in the below mentioned article I am passing the values dynamically from th...

Adult validation using javascript

Introduction: Hello Guys, “ Welcome back” Today, I am here with another one new great article. In this article I am going to explain about how to validate Date 18+ Minimum Age validation. Adult validation in JavaScript typically involves verifying that a user meets a minimum age requirement, commonly 18 years old. This is primarily achieved by comparing a user's provided date of birth with the current date to determine if they are of legal age. Here I will use the difference between the age entered by the user in the textbox and the Current Date using JavaScript .   If entered date by the user and the current date (today date) difference will be below 18 years then it will display message that you are not Adult Now. Implementation: ·          Date format dd/MM/yyyy validation: The Date of Birth will be first validated for dd/MM/yyyy format using Regular expression ·          18+ Minimum Age v...