i have some code that looks like
$("#myID").fadeIn("slow");
and it works fine, I have some other code that looks like
function fadeOut(inID, speed) {
var theID = "#" + inID;
$(theID).fadeOut(speed);
}
And it does NOTHING.
The fadeOut function I wrote because I need to be able to dynamically
assign which objects get faded out. I have NO idea what the objects
will be named.
Why doesn't creating the string 'theID' and using that as the address
work? How do I make it, or something like it work?
PUH LEASE help
TIA.