borpaw
8.10.2011, 08:02:29
Czy jest jakiś sposób na skopiowanie ustawionych stylów na elemencie?
kicaj
8.10.2011, 08:20:05
.getComputedStyle()
.getPropertyValue()
element.style = element2.currentStyle // chyba w IE runtimeStyle
borpaw
8.10.2011, 08:44:00
Zrobilem cos takiego
var st = document.getElementById('hours');
alert(st.currentStyle);
i mam wynik undefined
element.style.cssText = element2.style.cssText;