Get Height of Element.


/ Published in: JavaScript
Save to your folder(s)

Change <b>payment_text</b> to the ID you want to get the Height of. Paste in address bar.


Copy this code and paste it in your HTML
  1. javascript:alert(document.getElementById("payment_text").offsetHeight);

URL: http://www.ssiworks.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.