[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] More JavaScript



Using JavaScript to toggle the style.display between 'block' and 'none'. Stashing the span I'd and current state of that elements style.display in a cookie. Problem is, when I retrieve the cookie and attempt to set the style.display value the id is not recognized as an id. I've tried:

arg.style.display

Where arg contains the span id value pulled from the cookie. 

Suggestions?

--