How can I retrieve the current height of 813px in jQuery from the "style" section?
An example of F12 CSS is shown here: https://i.sstatic.net/4wFfR.jpg
My attempt at achieving this is as follows:
function HandleAccordionControlSizeChanges(isOpened) {
var currentHeight = 0;
if (isOpened) {
currentHeight = $(".dx-accordion-item-opened").height();
}
else {
currentHeight = $(".dx-accordion-item-closed").height();
}
return currentHeight;
}
Now, I need to extract the style tag that contains the value 813px.