I've got a problem. I can't get dimensions of img element in JavaScript. All typical solutions like:
"document.getElementsByTagName('img')[0].height",
"...clientHeight"
or "...naturalHeight"
doesn't work and return 'null'. I've got an acces to the proper img element, but I can't get its height.
All these ways works properly in web browser, but not in Prince.. Is there any good solutions for this?
"document.getElementsByTagName('img')[0].height",
"...clientHeight"
or "...naturalHeight"
doesn't work and return 'null'. I've got an acces to the proper img element, but I can't get its height.
All these ways works properly in web browser, but not in Prince.. Is there any good solutions for this?