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 …

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 …

How to show a div for some time and hide it after some time

Posted by on Nov 28, 2012 in HTML, Javascript, Jquery | No comments yet

Lets make an div that stays lit up for 2-3 seconds and take 1 second to blink. we can use the jQuery’s fadeIn and fadeOut to make the div blink Create an div Having the style as The jQuery portion …

Add numbers or alphabets to google markers API

Posted by on Oct 13, 2012 in Google Maps, Javascript, Jquery | No comments yet
Change the color scheme of google maps

As part of Google Chart Tools we can generate markers that contain a letter or number, as well change the marker and font colors. So to recaps we can Add numbers or alphabets to Google markers API Here the example …

Load More