how to define a variable in jquery code example
Example: jquery declare variable
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
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