I use the following (not working code):
var height = $("#rows").children().get(index).height();
The thing is that .get(index) returns the DOM element.
So after that the height() method does not exist.
How can I work around this problem?
I use the following (not working code):
var height = $("#rows").children().get(index).height();
The thing is that .get(index) returns the DOM element.
So after that the height() method does not exist.
How can I work around this problem?
Copyright © 2021 Jogjafile Inc.
use eq()
or
NOTE:
get()will be converted to javascript object so there is no height() method in javascript