IT Certificaions

Google Cloud Platform

Tuesday, November 8, 2011


If you want to change the div background then use,

document.getElementById("divIdName").style.background='#D6DE26';

Similarly, you can change div's text color dynamically using as
 document.getElementById("DivIdName").style.color='#00AEEF';