Hi there !
I'm just experementing with my first js-navi and got a little problem.
I'm using the following code to set the class:
document.getElementById(id).className="showmenu";
But how can I find out which class the element currently has ?
Hope you can help me out,
thx a lot,
greets,
ben
I'm just experementing with my first js-navi and got a little problem.
I'm using the following code to set the class:
document.getElementById(id).className="showmenu";
But how can I find out which class the element currently has ?
Hope you can help me out,
thx a lot,
greets,
ben