How To Set Background Color For Control Using Scripting?

By Goniey N (Mr. G)

Set Background Color Using Javascript For Controls...


Suppose You Have One Lable & You Want To Set Backgound Color For That Lable Then :

document.getElementById("lblUserName").style.backgroundColor = "Maroon";

How To Set Background Color For Control Using Scripting?  (788 Views)