ここに私のコードは次のとおりです。
<div class="FHD">
<div class="FHFD">
<div class="FHD">
<div class="FHVD">AA</div>
<div class="FHFD">AB</div>
</div>
</div>
<div class="FHVD">B</div>
</div>
高さxのdiv FHDがあり、FHFDは高さyです。
今、jsを使用してxyとしてFHVDに高さを適用したいので、FHDの高さが変わってもFHVDの高さだけが変わり、FHFDはその高さを変えません。
コードを次のように一般化したい
window.onresize = function(event) {
$('.FHC').each(function(){
//here i want to get the height of FHFD div using
//$(this +' .FHFD").height()
//somthing like this
});
}
少し早いですがお礼を...