[ale] More JavaScript

Jim Lynch ale_nospam at fayettedigital.com
Tue Apr 30 15:08:24 EDT 2013


I use jQuery show/hide.  Make life so easy:
http://jsfiddle.net/mofle/eZ4X3/
(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
>
>



More information about the Ale mailing list