sel.style.display='none';
sel.offsetHeight; // no need to store this anywhere, the reference is enough
sel.style.display='';
转载于:https://my.oschina.net/u/214483/blog/680449
sel.style.display='none';
sel.offsetHeight; // no need to store this anywhere, the reference is enough
sel.style.display='';
转载于:https://my.oschina.net/u/214483/blog/680449