hi,
I have a string like this -> what a great 'score'
now when i try to display this in a div through javascript,
iddiv.innerText = str;
then i get an error that ')' is expected...
my only guess is that it encounters the first quote and considers that the end of the string,
so i would like to know as to how i could display the string correctly.
thanks,
gomzi.
I have a string like this -> what a great 'score'
now when i try to display this in a div through javascript,
iddiv.innerText = str;
then i get an error that ')' is expected...
my only guess is that it encounters the first quote and considers that the end of the string,
so i would like to know as to how i could display the string correctly.
thanks,
gomzi.
Comment