Skip to main content
highlighted the code
Source Link
Sumit Bhatia
  • 5.9k
  • 2
  • 9
  • 25
  1. Make sure the environments are synchronized - the files, js, rich text in Sitecore.
  2. Compare the view-source for the two pages to help find the discrepancy
  3. Try using innerHTMLinnerHTML instead of innerTextinnerText
  4. Consider refactoring this - use @Html.Sitecore().Field("AudiologiInfoBox")@Html.Sitecore().Field("AudiologiInfoBox") inside the InfoBoxTextInfoBoxText div instead of using jQuery.
  1. Make sure the environments are synchronized - the files, js, rich text in Sitecore.
  2. Compare the view-source for the two pages to help find the discrepancy
  3. Try using innerHTML instead of innerText
  4. Consider refactoring this - use @Html.Sitecore().Field("AudiologiInfoBox") inside the InfoBoxText div instead of using jQuery.
  1. Make sure the environments are synchronized - the files, js, rich text in Sitecore.
  2. Compare the view-source for the two pages to help find the discrepancy
  3. Try using innerHTML instead of innerText
  4. Consider refactoring this - use @Html.Sitecore().Field("AudiologiInfoBox") inside the InfoBoxText div instead of using jQuery.
Source Link

  1. Make sure the environments are synchronized - the files, js, rich text in Sitecore.
  2. Compare the view-source for the two pages to help find the discrepancy
  3. Try using innerHTML instead of innerText
  4. Consider refactoring this - use @Html.Sitecore().Field("AudiologiInfoBox") inside the InfoBoxText div instead of using jQuery.