How to clear the placeholder on focus
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
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
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
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 …