title: When I add html code to the variable, it shows as Nan
body: <pre><code> var test = &quot;&quot;;
      for (var i = 0; i &lt; controlResponse.classifications.length; i++) {
          test+='&lt;div role=&quot;option&quot; aria-checked=&quot;false&quot; class=&quot;select item&quot; style=&quot;pointer-events: all;&quot;&gt;&lt;span class=&quot;text&quot;&gt;' + controlResponse.classifications[i].name + ' &lt;/span&gt;&lt;/div&gt;';
  
      }
     
      for (var i = 0; i &lt; controlResponse.fileList.length; i++) {
  
          var htmlCode='&lt;div class=&quot;row&quot;&gt;                                                                                                                                                      '+
           '   &lt;div class= &quot;ten wide computer sixteen wide mobile ten wide tablet column&quot;&gt;                                                                                                    '+
           '   &lt;h5 class=&quot;ui header&quot;&gt;                                                                                                                                                          '+
           '       &lt;i aria-hidden=&quot;true&quot; class=&quot;file word outline large icon fa-fw&quot;&gt;&lt;/i&gt;                                                                                                       '+
           '       &lt;div class=&quot;content&quot;&gt;outlook_testler.docx&lt;/div&gt;                                                                                                                             '+
           '   &lt;/h5&gt;                                                                                                                                                                           '+
           '       &lt;/div &gt; &lt;div class=&quot;six wide computer sixteen wide mobile six wide tablet column&quot;&gt;                                                                                          '+
           '       &lt;div role=&quot;listbox&quot; aria-expanded=&quot;false&quot; class=&quot;ui selection dropdown&quot; tabindex=&quot;0&quot; style=&quot;float: right;&quot;&gt;                                                                 '+
           '           &lt;div aria-atomic=&quot;true&quot; aria-live=&quot;polite&quot; role=&quot;alert&quot; class=&quot;divider default text&quot;&gt;Classification&lt;/div&gt;&lt;i aria-hidden=&quot;true&quot; class=&quot;dropdown icon&quot;&gt;&lt;/i&gt;               '+
              '           &lt;div class=&quot;menu transition classifications&quot;&gt;                                                                                                                      ' +
              +test+
              '           &lt;/div&gt;                                                                                                                                                                  ' +
           '   &lt;/div&gt;                                                                                                                                                                      '+
           '   &lt;/div&gt;                                                                                                                                                                          '+
              '   &lt;/div&gt;';
          $(&quot;#classificationModalList&quot;).append(htmlCode);
  
           
      }
  </code></pre>
  <p>When I add html code to the variable, it shows as NaN.
  I add select item html codes to test variable then I added test variable inside htmlCode variable
  then I added test variable inside htmlCode variable</p>