Answer the question
In order to leave comments, you need to log in
What the heck with jquery?
There is such a code
I'm trying to get the size of the block in pixels using JQuery, but I get only percentages in response ...
To be honest, this is the first time ...
How to be? How to determine the size in pixels of the block?
Answer the question
In order to leave comments, you need to log in
Based on the screenshot, I understand this is some kind of album, which means there will be pictures. Images have a standard width and height attribute. If you set it, then jquery will get the correct width and height. And if the element is hidden, then yes, its data cannot be obtained, because even the console will not be able to visually circle it in a box for you, tk. element is missing!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question