I’ve tried using $element.width() or $element.height() and both doesn’t seem to help for retrieving values of ajax loaded images. How can I get these with either jQuery or regular JS? The images have no settings in CSS.
I’ve tried using $element.width() or $element.height() and both doesn’t seem to help for retrieving
Share
When you load content, in your ajax success use something like this