JQuery declare variável

var foo = 'some string';

// Popular pattern for variables that contains the result of a call in HTML:
var $foo = $('.foo'); // it's a valid name in jQuery
Marton