set variable in jquery function 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