Friday, 15 July 2011

Is there any way to read out the "naturalWidth" of an image with jquery? -


I tried to do something like this:

  var height = $ (this). NaturalHeight;  

but it does not work

grease

$ this CSS ('height', 'auto'); Var height = $ this.height ();

No comments:

Post a Comment