Hi,
Please check if motool JS Library is called on your site, if not, try to call it.
If Motool is called, then do as bellow: Try to replace $(
to document.id(
in above code
function jaMagicSelect(controller, lid) {
controller = document.id(controller);
if(controller.hasClass('opened')) {
controller.removeClass('opened');
controller.addClass('closed');
document.id(lid).setStyle('display', 'none');
} else {
controller.removeClass('closed');
controller.addClass('opened');
document.id(lid).setStyle('display', 'block');
}
}
function jaMagicSelectClose(controller, lid) {
controller = document.id(controller);
controllerparent = document.id(lid).getParent().getElement('.select');
if(controllerparent.hasClass('opened')) {
controllerparent.removeClass('opened');
controllerparent.addClass('closed');
} else {
controllerparent.removeClass('closed');
controllerparent.addClass('opened');
}
document.id(lid).setStyle('display', 'none');
}
And change for other JS code if you still get the same error message on JA K2 Filter.