Unterminated String error while iterating
<p>This is my code :</p>

<pre><code>&lt;c:forEach items="${entry.value}" var="keyval"&gt;
 var bdgroup= {
   elem1: '${keyval.partno}',
   elem2: '${keyval.location}',
   elem3: '${keyval.village}',
   elem4: '${keyval.id}'
   };
   exampleArray.push(bdgroup);
&lt;/c:forEach&gt;
</code></pre>

<p>i am getting </p>

<p>'unterminated string literal error'`</p>

<p>sometimes it works fine but for other times this error happens..</p>
