Event code breaks randomly for an unknown reason or when changing the merchant account option.

Options
For the below 2 pages the code has broken on its own. Users will use the pages for several days and all the sudden the code stops working. This is only for the 2nd page where a user gets to pick the quantity of ticket to purchase. All three pages below also break when changing the merchant account, please check picture > https://snag.gy/5BkHPW.jpg


This page is currently working but has broken before: http://donate.advocategiving.org/site/Calendar?id=100741&view=Detail

This page is broken and I left it broken, it is similar to the above page: 
http://donate.advocategiving.org/site/Calendar?id=100821&view=Detail
This page has broken before only when changing merchant account:  http://donate.advocategiving.org/site/Calendar?id=100727&view=Detail


Does anyone know why this is happening?


The code that breaks starts with these lines. There are several lines of code 

 
<script type="text/javascript">// <![CDATA[


  $(document).ready(function () {


 


       $('#lo-address-61-62-63').replaceWith('Chicago, Illinois');

Tagged:

Categories