+ 2

How can I apply css to strings in javascript

Applying css to javascript strings

11th Sep 2017, 8:49 AM
Adams Mujahid
Adams Mujahid - avatar
2 odpowiedzi
+ 5
HTML strings or Javascript strings passed to the DOM... ? In both cases; yourstring.css.property = value E.g par.style.color = "#547";
11th Sep 2017, 9:20 AM
Maz
Maz - avatar
+ 2
Thanks Maz.. It solved my problem
11th Sep 2017, 9:24 AM
Adams Mujahid
Adams Mujahid - avatar