Tuesday, 31 July 2012

Previous Interview Question Next Interview Question
Home

How to change the style/css using javascript

document.getElementById(“myText”).style.fontSize = “20″;
-or-
document.getElementById(“myText”).className = “anyclass”;

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment