Click me, there should be an error (look in the JavaScript console).

Click me, it should work.