Chrome: use activeElement.blur() to actually prevent pressing Enter from triggering a button or form submission.
Chrome: use activeElement.blur() to actually prevent pressing Enter from triggering a button or form submission.

I thought the previous .focus() style worked, but it didn't and this way is cleaner.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=91025868

Shekharrajak/password-alert,PickmanSec/password-alert,Shekharrajak/password-alert,J2TeaM/password-alert,adhintz/password-alert,PickmanSec/password-alert,J2TeaM/password-alert,google/password-alert,J2TeaM/password-alert,google/password-alert,google/password-alert,google/password-alert,Shekharrajak/password-alert,yubbie/password-alert,adhintz/password-alert,adhintz/password-alert,yubbie/password-alert,yubbie/password-alert,yubbie/password-alert,Shekharrajak/password-alert,PickmanSec/password-alert,PickmanSec/password-alert,adhintz/password-alert,J2TeaM/password-alert