Call fancybox on page load

Posted by on May 17, 2013 in General, HTML, Javascript, Jquery | No comments yet

Some time we need to show an message in popup when someone enters in our website.Its easy to call fancybox on page load when we use fancy box make sure you have included fancybox core files and jQuery Here is …

How to clear the placeholder on focus

Posted by on May 9, 2013 in General, HTML, Javascript, Jquery | No comments yet

By default place holder will stay there when we click on the text box, We can do it by writing simple code with javascript as follows Don’t forget to include jQuery The above code is mentioned only for text boxes …

Redirect to a new page if javascript is disabled

Posted by on Apr 30, 2013 in HTML, Javascript | No comments yet

We can simply redirect from a page if javascript is disabled Here is the code to do so

Finding difference between two dates using javascript

Posted by on Jan 30, 2013 in Javascript, Jquery | No comments yet

When we need to calculate the difference between two dates using javascript we need to convert the string to date and here is the code to do this And to find the difference in hours And to find the difference …

Load More