Set CSS background color of an HTML element via JavaScript?
Labels: Javascript , Web Development , WebDesign
In general, CSS properties are converted to JavaScript by making them camelCase without any dashes. So background-color becomes backgroundColor.
No comments :
Post a Comment
Dare to Ask?