CSS JavaScript
What is the difference between this attribute and height? I saw this attribute in js when I was looking for the div folding code.
mrc.style.pixelHeight mrc is the id of a div.
Please tell me. There is no comment on the pixelHeight attribute online. Please tell me how to recursively call setTimeout for folding to achieve the accumulation or decrement of the pixelHeight attribute. Why doesn't height work?
Reply to discussion (solution)
One is string (with unit, cannot be used for calculation), the other is int/float