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