So the function, which btw is javascript and probably should have posted in the javascript forum, is calling an element with an id of "adad"
document.getElementById(adad)
I dont see that element in your html code anywhere.
teedoff
Practically a Master Poster
605 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
Skill Endorsements: 0
teedoff: adad is a javascript local variable defined in the script at the top of the op function show_hide(adad) it only exists within the scope of the function, you can code many functions with the same local variable name without error, makes it simpler to reuse functions
DG12
<a href="javascript:show_hide('info');"> </a>
<div id="Informações" style="display: none;">
the parameter in the function call and the id of the hidden div, really need to match
probably easier to change the hidden div id = "info"
edit; apologies Phillipe, already answered
almostbob
Nearly a Senior Poster
3,305 posts since Jan 2009
Reputation Points: 585
Solved Threads: 403
Skill Endorsements: 7
teedoff: adad is a javascript local variable defined in the script at the top of the op function show_hide(adad) it only exists within the scope of the function, you can code many functions with the same local variable name without error, makes it simpler to reuse functions
Ahh lol thanks Bob, my lack of js skills shows! Which is why I guess I suggested the OP might have more luck in the js forum. Seems you solved it though...well I guess you have, since the OP hasn't responded.
teedoff
Practically a Master Poster
605 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
Skill Endorsements: 0