Faking a live election with JavaScript

Live election results are a hugely popular feature for many news-oriented Web sites, but offering them can be difficult if you don't have a source providing you this information, preferably in electronic form.

I've added a new programming tutorial to Workbench: How to offer authentic-looking fake live election results with JavaScript.

Comments

Google makes some amusing connections in choosing their ads. On the Retort election page, I saw http://www.lwtpithog.com/index.html!

without the excalamation point, though:

http://www.lwtpithog.com/index.html

Add a Comment

All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).