I have used this strategy before but I guess I don't remember it:
function showdiv(x){
"desc"+x.style.visibility="visible";
}
what's wrong with "desc"+x?
[SOLVED] Small Javascript
Moderator: General Moderators