However, as I understand, you’re not meant to harvest the entire style at once:
var e1_style=document.getElementById(“e1”).style; //not intended
Furthermore, let’s imagine you do so anyway, then try to convey that style to another element:
//won’t work, according to my tests
Curiously, though, I’ve found that
does work on Chrome and Firefox (but not ie11).
Pollock, John. jQuery: A Beginner’s Guide. Toronto: McGraw-Hill, 2014.
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.