[thelist] Javascript Show/Hide DIV
James Newbery
jamesnewbery at yahoo.co.uk
Mon Jun 24 10:52:06 CDT 2002
Ken, haven't tested this, but in your javascript
function you're using = for testing equivalence:
> function showhide() {
> if (document.getElementById("mydiv").className =
> "divHide") {
should read
function showhide() {
if (document.getElementById("mydiv").className ==
"divHide") {
HTH,
Jim
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
More information about the thelist
mailing list