Tag: JavaScripts (Page 4 of 6)

How to encode and decode string using JavaScript

Last updated on November 13th, 2024 at 09:35 amThis JavaScript code defines two functions, str_to_num and num_to_str, to convert a text string to a sequence of numbers and vice versa, with a basic encoding/decoding method Function str_to_num Function num_to_str HTML CODE DEMO

Javascript copy paste form fields

Last updated on October 4th, 2022 at 01:44 pmThis script will simply copy the form field value from one form to another with ease, ie It allows the user to click a checkbox on a form to duplicate information. For example, if you have a form which ask user to input billing and shipping details, […]

How to add a splash page using javascript

Last updated on August 27th, 2024 at 09:50 amThis tutorial will show you how to add a splash page on your website using javascript. Here i am using iframe tag. You are free to use FRAME or any other like a div/span etc., according to your convenience. To start with lets define a IFRAME Keep […]

Beautiful Christmas countdown timer with CSS download

Last updated on November 11th, 2024 at 10:53 amThis code sets up a countdown to December 25 of the current year and dynamically displays the remaining time in a formatted layout (days, hours, minutes, seconds) within an element with the class time. It also displays the current year in an element with the ID year. […]

« Older posts Newer posts »