I am trying to use a javascript based scroll. The scroll's content comes from a javascript array.
To be consistent with the rest of html generation, we wanted to use ascii html for all the special characters but the browser ignored double quotes code which specifies the css class, which meant that the text did not change color as the css class specified.
I am a novice to javascript.So, I am not able to figure out why the browser executed the html ascii code (which puts a comma) within
the array
string but not the one that specifies the css class.
It have deliberately put space between & # 34 so that the browser does not interpret this.