Right now I have a function that looks like this:
function hidearray() {
$('#one, #two, #three').hide();
}
I'd like to put those IDs into 1 array, which would look like
var myArray['one', 'two', 'three'];
And then hide that array within my function hidearray(). I thought it would look like this, but I guess I'm on the wrong track (I also know I ignored the # in the statement below)
$(.each(myArray)).hide();
The solution is likely simple, so thank you to all that respond!