.load() is a jQuery function so you need a wrapper, and bind it before setting the src, like this:
$("#someID").click(function(event){
event.preventDefault();
var newImage = new Image();
$(newImage).load(function(){
alert(this.width);
});
newImage.src = this.href;
});
Nick Craver
2010-09-28 11:27:40