prophook for hrefNormalized

IE6/7 needs not only a attr hook, but also a propHook for href/src

by trixta

JavaScript

var anchor = $('<a />', {href: 'some/url'});
if(anchor.prop('href').indexOf('://') == -1){
    alert( "href property is not normalized: "+  anchor.prop('href') ); 
    if(!$.support.hrefNormalized){
        alert( "use getAttribute('href', 4) to get correct href-property: "+ anchor[0].getAttribute('href', 4) );
    }
} else {
    alert("everything seems fine, your browser normalizes href-property: "+ $.support.hrefNormalized );
}