Obviously it\'s a good idea to store jQuery selectors in variables if they are used more than once (not a good idea if used only once).
My question is, how do y
Why don't you use the easy way.
var severalVar = 'h1,h2,h3,h4,h5,h6'; $(severalVar).hide()