Correct ways in jQuery are –
$('#test').prop('scrollHeight')
OR$('#test')[0].scrollHeight
OR$('#test').get(0).scrollHeight
More Related Contents:
- Convert form data to JavaScript object with jQuery
- Get current URL with jQuery?
- jQuery in Greasemonkey 1.0 conflicts with websites using jQuery
- var self = this?
- Detect viewport orientation, if orientation is Portrait display alert message advising user of instructions
- Event when user stops scrolling
- Trying to Validate URL Using JavaScript
- Trigger event when user scroll to specific element – with jQuery
- Keep overflow div scrolled to bottom unless user scrolls up
- Check if object is a jQuery object
- Can’t get correct return value from an jQuery Ajax call [duplicate]
- Microsoft CDN for jQuery or Google CDN? [closed]
- Convert an image into binary data in javascript [duplicate]
- How to do a horizontal scroll on mouse wheel scroll?
- Wrap tags around http text
- Loop through JSON object List
- How well does jQuery support backward compatibility?
- HTML5 Video Dimensions
- jQuery remove options from select
- console.log(result) prints [object Object]. How do I get result.name? [duplicate]
- jQuery: more than one handler for same event
- Trying to load local JSON file to show data in a html page using JQuery
- call the same jQuery function in multiple buttons
- Set cursor to specific position on specific line in a textarea
- How can I use deflated/gzipped content with an XHR onProgress function?
- jQuery UI DatePicker to show year only
- jQuery, JavaScript, HTML: how to load images after everything else is loaded?
- jquery .ready and height of element
- Validate inputs that are not inside a form with jQuery Validation plugin [closed]
- How to add delay to jquery mouseover? [duplicate]