I'm creating a login box that has a Username and Password field. Their label is displayed inside the input field them self, so you see "Username" and "Password" in the field when the page is loaded and when you focus the field this label is hidden. It's actually a background image that a hide and show on focus and on blur.
Now my problem detecting auto completions by browsers. The change event doesn't get called when a field is auto completed so I have no idea how to detect this... Any ideas?