Preview Loading forever when add Jquery function

Hello, I have a problem of the preview in pro loading forever when I added some JQuery code in Page JS. When I remove the code it loads normally. Can you help me fix this without removing the code

the code:

(function($) {
    window.fnames = new Array(); 
    window.ftypes = new Array();
    fnames[0]='EMAIL';
    ftypes[0]='email';
    fnames[1]='FNAME';
    ftypes[1]='text';
}(jQuery));
var $mcj = jQuery.noConflict(true);

Hello @keih94,

Thanks for writing in! Your custom CSS created a conflict with the builder which is why it is not loading. You will have to temporarily remove your JS code is you are editing the page and place it back as soon as you are finish and ready for the page to make it live.

Note: We are unable to provide support for customizations under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One or Care service for further assistance.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.