Answers for "jquery declare variable"

1

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
Posted by: Guest on March-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language