This might seem like a useless midnight rant (at least it is midnight here :P ) but I hope it's not.
Why do most sites allow you (having JavaScript clearly activated) to submit the login form when at least one of the two textboxes are empty? Why allow the request to the server? You know downright that this request WILL fail. Is JavaScript so complicated?
Why?