Clicking "Forgot Password?" in the login box should swap the contents of the box.

It works fine on Firefox and IE, but in my testing, it prevents the JavaScript onclick handler from working on at least Chrome 8, 9, and 10 on Linux. (I also reproduced it on my iPhone and on desktop Safari on Windows.) I have discovered two different changes that will fix the problem:

  1. Remove the linked stylesheet from the <head> of the document.
  2. Remove the autofocus attribute from the <input>.

Forgot Password?

Presumably this is due to a buggy implementation of autofocus on Webkit.