This should be easy but I am not able to do it.
I have a div element with id \"LeftScrollableDiv\" and I am trying to find the first child element under it:
The following didn't work for me:
$('#LeftScrollableDiv').children().first();
If you find the same, then you can treat the object returned by the children() method like an array.
To get the first element:
$('#LeftScrollableDiv').children()[0]
To get the last element:
$('#LeftScrollableDiv').children()[$('#LeftScrollableDiv').children().length-1]