I think anyone who has ever done web development has used this JavaScript pattern style.display= (style.display=='none') ? '' : 'none' -- Nifty Javascript Pattern
You are viewing the archives of the weblog originally hosted at Alpha-Geek.com. This archive is only here for historical purposes and so that googlers arrive some place relevant when items on this weblog pop up in searches. If you are looking for more information about Jeremy Smith head to the main page of Alpha-Geek.com.
I think anyone who has ever done web development has used this JavaScript pattern style.display= (style.display=='none') ? '' : 'none' -- Nifty Javascript Pattern
Comments