It seems like JQuery is throwing a script error with the message "can't find .curCSS" when executing the switchClass
method.
This issue might be caused by using an older version of JQuery UI compared to the JQuery core:
<script type="text/javascript" src="/templates/microsites//js//jquery-1.8.3.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" type="text/javascript"></script>
The use of the curCSS
method was deprecated starting from JQuery 1.8.0.
To resolve this, I recommend upgrading to the most recent version of JQueryUI. Alternatively, you can avoid using switchClass
(which is part of JQuery UI) and instead utilize removeClass
/addClass
, or slideUp
/slideDown
provided in the core JQuery library.