Tag: DOM

How to remove child div in javascript

Last updated on February 14th, 2022 at 12:54 pmJavascript is very helpful when you want to remove child div inside a parent div. This script can be used to remove any div defined inside parent div. The script also checks whether child node has been removed and alert some message. Demo

How to fix div on the top of page using CSS

Last updated on January 4th, 2023 at 10:38 amNow a days lot of websites are using this technique to enhance their look and feel. I have even seen these divs in most of the famous news portal which is used to scroll the breaking news details without disturbing the main view. This is really an […]

How to create real Time Date clock Using Javascript

Last updated on December 21st, 2022 at 08:51 amIn this tutorial we are going to see how to show a real time and date clock using Javascript. Let us first create a function named todays_date_time(), the parameter we are passing to this function is the id of any HTML element. For this example I am […]