- Back to Home »
- HTML , jQuery »
Posted by : Jebastin
Wednesday, 15 January 2014
Consider the following HTML:
- <div id="jjTechSol" style="height: 50px;width: 50px;">
- <p>Content</p>
- </div>
- <script type="text/javascript">
- $(document).ready(function () {
alert('Height:'+$("#jjTechSol").css('height')); - alert('Width:'+$("#jjTechSol").css('width'));
}); - </script>
propertyName
Type: String
A CSS property.