I have been studying JQuery lately and, even though I know some stuff, there's this line in a book that I simply can't figure out:
$(
function()
{
current_entry = -1;
}
);
Does anyone know HOW this line works and WHAT it does?
Is it something like a function as selector within the JQuery function?
As a reference that line is used in the book Web Development Recipes, Chapter 2, Recipe 9 - Interacting with Web Pages Using Keyboard Shortcuts (Pg 62).
Thanks for your help.