Is there any way to read out the “naturalWidth” of an image with jquery?

前端 未结 8 2154
时光说笑
时光说笑 2020-12-05 10:59

I tried with something like this:

var Height = $(this).naturalHeight;

But it doesn\'t work. Is there any way to do that

greez

8条回答
提交回复
热议问题