<style> #q{ height:200px; } </style> <body> <div id="q"> </div> <body> <script> /* i have tried these codes but its not working like */ var p=$("#q").height();//its giving 200px that is visible height var p=$("#q").scrollheight();//not supported in w3c so i cant use it </script>
$('#q')[0].scrollHeight;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)