I have a situation where I need to loop through some values and then hide a div that has an id.
To simply here is a piece of code:
var value = 'div1';
$('#div1).hide();
what I like to do is to do something like:
value.hide();
Meaning, pass what the value is and then hide it dynamically on document.ready().