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

[ale] More JavaScript

I use jQuery show/hide.  Make life so easy:
(Click on the box to hide it)
On 04/30/2013 01:09 PM, Geoffrey Myers wrote:
> 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?
> --
> >From my iPhone
> Geoffrey Myers
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo