the problem is the string value is a dynamic value, sometimes i have data with double quote character, so javascript cant read full of the string value from the data.
I made a manipulation, i put the value on html input, and set the variable with the html input value. But, i found the same problem, if the value have double quote character, the variable cannot take all the value. The element show like this:
<input type="hidden" id="soal7" value="Boyolali regency is located in north of Solo and east of Merapi and Merbabu Mountains. This regency has been known for its production of fresh milk for a long time. No wonder, the cow statues adorn Boyolali town.<br>
There are six main cow statues in Boyolali. They are displayed in different places.However, the size is made bigger to catch the eye.<br>
Besides decorating the town, the statues also turn out to be helpful for people from out of town to find places they are seeking in Boyolali. By mentioning the position of the statue, people can get their way easily.<br><br>" ...="" <u=""> they are seeking in Boyolali" (paragraph 3)<br>What does the underlined word refer to?">
the value must be
Boyolali regency is located in north of Solo and east of Merapi and Merbabu Mountains. This regency has been known for its production of fresh milk for a long time. No wonder, the cow statues adorn Boyolali town.
There are six main cow statues in Boyolali. They are displayed in different places.However, the size is made bigger to catch the eye.
Besides decorating the town, the statues also turn out to be helpful for people from out of town to find places they are seeking in Boyolali. By mentioning the position of the statue, people can get their way easily.
"they are seeking in Boyolali" (paragraph 3)
What does the underlined word refer to?
the bold text have double quotes, so the input type cannot set all of the string
is there any idea to manipulate this ?