Javascript Archive

Refresh iframe with interval javascript

Refresh iframe with interval javascript post will teach you how to refresh iframe src with javascript. After each interval iframe src changes which is demonstrated as follow:

Check if an element is hidden in Javascript

Check if an element is hidden in Javascript to find element is hidden or not.The things that we do with the jquery can also be done with javascript such as hiding the element or checking the element is visible or not.But the style of writing is different .In jquery we have to write less code

Calculating the Difference between Two Dates in JavaScript

In this tutorial we are Calculating the Difference between Two Dates in JavaScript  but while supplying the dates start date must be lower than end date so that we can get the positive days .Using javascript we can calculate the days

show current time in clock using javascript

Show current time in clock using javascript  on webpage.The following javascript will show current time and update accordingly using javascript.The main function setInterval plays a key role call function after interval of 1 seconds.