In general, CSS properties are converted to JavaScript by making them camelCase without any dashes. So background-color becomes backgroundColor.
Monday, 19 January 2015
Filled Under: Javascript, Web Development, WebDesign
Set CSS background color of an HTML element via JavaScript?
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment