jquery.placeholder
jquery.placeholder copied to clipboard
Bug when type very very fast
If someone focus the textfield before javascript is loaded, and then write after javascript loaded (so the placeholder text was added to the field), the placeholder text will not be erased.
The solution for this is to bind also the "keydown" event in the eventlistener's function, so if someone do focus before javascript is loaded, when he try to write, the placeholder text will be deleted as well.
I mean, in the code, instead of .focus(function(...)) it should be .bind('focus', 'keydown')