title: innerHTML not working in IE8 using javascript
body: <pre><code>&lt;div class="dis-opt-box"&gt;
   &lt;div class="dis-opt-box-top"&gt;
          &lt;form id="frmBook" accept-charset="utf-8" action="http://localhost/parcel3/book" method="post"&gt;
          &lt;div class="opt-box-heading"&gt;
              &lt;div class="service opt-box-heading-txt"&gt;Service&lt;/div&gt;
              &lt;div class="price opt-box-heading-txt"&gt;Price&lt;/div&gt;
              &lt;div class="info opt-box-heading-txt"&gt;Info&lt;/div&gt;
              &lt;div class="coll-tody opt-box-heading-txt"&gt;Collection today&lt;/div&gt;
              &lt;div class="printer-needed mt_5"&gt;Printer needed&lt;/div&gt;
              &lt;div class="enhanced opt-box-heading-txt mt_5"&gt;Enhanced compensation&lt;/div&gt;
              &lt;div class="drop-off opt-box-heading-txt mt_13"&gt;Drop off at &lt;br&gt;Parcelforce &lt;br&gt;Worldwide &lt;br&gt;Depot&lt;/div&gt;
    &lt;/div&gt;
                                    &lt;div class="economy-services"&gt;
                          &lt;h3&gt;Next Day, Pre 9am delivery&lt;/h3&gt;
                                                              &lt;div class="service-box"&gt;
                                          &lt;div class="service-box-small"&gt;
                                              &lt;div class="service-box-small-1"&gt;&lt;span class="pl-10"&gt;Parcelforce Express 24, Pre 9am&lt;/span&gt;&lt;/div&gt;
                                              &lt;div class="service gray-border"&gt;
                                                                                                  &lt;img src="/parcel3/web/img/uploads/couriers/parcel2shippf.jpg" alt="Parcelforce Express 24, Pre 9am" title="Parcelforce Express 24, Pre 9am" class="pb-23" /&gt;                                            &lt;/div&gt;
                                              &lt;div class="price1 gray-border"&gt;
                                                  &lt;a href="#" class="flyout"&gt;&amp;pound;15.99&lt;span style='width:300px;'&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;Base Price: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;&amp;pound;15.99&lt;/div&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;Remote Area Charge: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;&amp;pound;0.00&lt;/div&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;Number of Packages: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;1&lt;/div&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;Sub total: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;&amp;pound;15.99&lt;/div&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;VAT: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;&amp;pound;3.20&lt;/div&gt;&lt;div style='float:left; width:250px; text-align:left;'&gt;Grand Total: &lt;/div&gt;&lt;div style='float:left; width:50px; text-align:left;'&gt;&amp;pound;19.19&lt;/div&gt;&lt;/span&gt;&lt;/a&gt;
                                                  &lt;div class="red-star"&gt;*&lt;/div&gt;                                            &lt;/div&gt;
                                              &lt;div class="info gray-border "&gt;
                                                  &lt;a href="#" class="flyout"&gt;&lt;img src="/parcel3/web/img/images/info-icon.png" alt="" /&gt;&lt;span&gt;Delivery before 9am on next working day to most of the UK. Door to door service. Each consignment covered for compensation up to a maximum of &amp;pound;50.00 as standard. Trackable on line. Full support and backup. Fast and reliable courier service from a top courier company.&lt;/span&gt;&lt;/a&gt;
                                              &lt;/div&gt;
                                              &lt;div class="info gray-border" style="background:none;"&gt;
                                              &lt;img src="/parcel3/web/img/images/question.png" alt="Collection today can only be shown when a collection postcode has been supplied" title="Collection today can only be shown when a collection postcode has been supplied" /&gt;                                            &lt;/div&gt;
                                              &lt;div class="printer-needed gray-border"&gt;
                                              &lt;img src="/parcel3/web/img/images/available.png" alt="Available" title="A printer is needed for this service. You will need to print shipping labels and attach them to your parcel" /&gt;                                            &lt;/div&gt;
                                              &lt;div class="enhanced gray-border"&gt;
                                              &lt;img src="/parcel3/web/img/images/available.png" alt="Available" title="Available" /&gt;                                            &lt;/div&gt;
                                              &lt;div class="drop-off gray-border"&gt;
                                              &lt;img src="/parcel3/web/img/images/available.png" alt="Available" title="Available" /&gt;                                            &lt;/div&gt;
                                          &lt;/div&gt;
                                          &lt;div class="green-button"&gt;
                                              &lt;button type="button" value="21" class="book" onclick="javascript:addPackageDetails('/parcel3/web/index/addPackageDetails','21');"&gt;Book&lt;/button&gt;                                        &lt;/div&gt;
                                      &lt;/div&gt;
                                                      &lt;/div&gt;
                                                      &lt;div class="vat-extra"&gt;* Plus VAT&lt;/div&gt;
                                  &lt;div class="clear"&gt;&lt;/div&gt;
          &lt;input name='data[packageOptions][0]' type='hidden' value='' id='packageOptions_0'/&gt;
          &lt;input name='data[hdnChoosePackage]' type='hidden' value='1'/&gt;
    &lt;/form&gt;
      &lt;/div&gt;
   &lt;div class="dis-opt-box-bottom"&gt;&lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>This HTML got from Ajax reponse. I just try to add this HTML in DIV using innerHTML. It is working fine in Firefox, IE9, Crome, Safari but doesn't work in IE8.</p>
  
  <p>Can any one help me?</p>
  
  <p>I got this HTML as response and use this code</p>
  
  <pre><code>document.getElementById('chooseDetail').innerHTML = response;
  </code></pre>
  
  <p>But doesn't work in IE8.</p>