Be aware of DOM state: jQuery selector with variable
Recently we were working on some jQuery code that added several controls to the page in a loop, and performed some manipulations, like .hide() on them. Since we needed this functionality in 2 … more