Do you get a JavaScript error? Maybe

document.getElementById("myDiv").className="visible";

will do the trick...

Ernesto


nickponico wrote:
I've inserted this simple function in head of html:

<script type="text/javascript">
function show()
{
document.getElementById("myDiv").setAttribute("class", "visible"); }
</script>
</head>

and i'd like to execute this function on onlick...

so somthing like: onlclick="show()"

This is a particular situation, but very important for my GUI.

Thanks

E.



jwcarman wrote:
What javascript do you want to put into your onclick handler?






*************************************************************
Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************

Reply via email to