我有《 Java本法典》,内容部分包含内容提要和内容权利。
var containerDivs = $(".ContentSection");
for (var i = 0; i < containerDivs.length; i++) {
var containerDiv = containerDivs[i];
//Select right and left div s from the container div
var leftDiv = $(".ContentLeft", containerDiv)[0];
var rightDiv = $(".ContentRight", containerDiv)[0];
if (leftDiv.clientHeight > rightDiv.clientHeight) {
rightDiv.style.height = leftDiv.clientHeight;
}
}
I am trying to move from jQuery to ExtJS but I am not sure what the ExtJS equivalent of $(".cpfContentLeftWrapper", containerDiv)[0]
is.