Why the script works correctly in one browser but not working in others?

Hi all. Installed the plugin on the website to buy with one click, the site in WP, when pressed long over the window, I decided to make a visible download by small manipulations in js files of the plugin. I added the download icon, which becomes visible immediately when you press the button, and disappears after the success event code example:
jQuery(document).on('click', 'a.clickBuyButton', function (e) {
 jQuery('.overlay-loading').css('display', 'block');
 var zixnAjaxUrl = getAjaxUrl();
 var butObj = this;

 var urlpost = window.location.href;
 var productid = jQuery(butObj).attr('data-productid');

 type: "POST",
 url: zixnAjaxUrl,
 async: false,
 data: {
 action: 'getViewForm',
 urlpost: urlpost,
 productid: productid
 success: function (response) {
 jQuery('.overlay-loading').css('display', 'none');
 jQuery('.popup .overlay').css('opacity', '1');
 jQuery('.popup .overlay').css('visibility', 'visible');


In mozile works as it should in chrome does not work, i.e. works if I put the exception in the console, but refuses to work together. here is the website here you can see the website
March 23rd 20 at 18:57
0 answer

Find more questions by tags jQueryAJAX