Last updated on October 18th, 2022 at 07:51 amVery simple Javascript that can be easily added to your website. There are two div’s inside the code as shown above. All you have to do is change the date and time according to your requirement.Inside the Javascript we are defining two functions for the divs with […]
Tag: JavaScripts (Page 5 of 6)

How to generate random password using javascript
Last updated on November 6th, 2024 at 12:21 pmThis code will create passwords randomly using simple Javascript. It also contains an option to provide the length of the password. By default I have given length of the password as 8 but it is up to your use case on what that value should be. Change […]
Last updated on October 4th, 2022 at 01:32 pmThis tutorial will explain how to disable dropdown list inside a form using javascript. If you have lets say a dropdown list of two values then you can disable that using javascript when you mark a checkbox. Here as an example I have a form named “frm” […]
Last updated on August 30th, 2022 at 06:52 pmIn this tutorial we will discuss on how to replace non alphanumeric characters using JavaScript Just insert the above code within <body> tag and see the magic. Demo