Okay, this is the story so far.
I have a login form with label overlays that hide when values are entered.
This all works fine but on chrome the autofill doesn't trigger anything.
So i rustled up the following workaround, but when i tried the remove the alert it stops working???
$(window).load(function(){
alert();
if($('input:-webkit-autofill').val()){
$("label[for='user'], label[for='pass']").css("visibility", "hidden");
}
});
I've tinkered with it for an hour or two now and nothing. Any ideas?