This post explains self-executing functions and its benefits. So lets started by breaking down a normal function and converting it into one …
var myVar = “This is a normal function…”;
function ShowAlert(textToAlert)
{
alert(textToAlert);
}
ShowAlert(myVar);
We all know that functions are also objects in JavaScript. Thus they can be evaluated using the eval() function and also in the case of setInterval() function [...]
Google Chrome has many great features including an Incognito mode. You can open an incognito window by pressing ctrl+shift+N in your normal browser. You can see the Spy guy on the top left corner.
You can also open the Incognito mode directly, by modifying the Target property. Right click on the Chrome executable/Shortcut and append -incognito [...]
Woork author Antonia Lupetti has recently released a visual cheat sheet for jQuery 1.3. The cheat sheet having six pages is a helpful reference containing the complete API reference with descriptions and sample code.
What I like most about this cheat sheet, is it’s simple and elegant design. Kudos to Antonia!
Demo
October 2 marks the 140th birth anniversary of Mahatma Gandhi. Considered as the father of the Indian Nation, he will always be remembered for his great simplicity. Google is celebrating this event with a new doodle on their homepage.