wish of those help This will work only for the same domain ajax calls. You are making a call to google from you site, which will not work.
By : user2990756
Date : March 29 2020, 07:55 AM
may help you . You call GetCssProperties() before you set the value of the variable. By this the first time the variable will be undefined if you try to access it inside GetCssProperties(), because you have globally declared it, but it still has no value. Change the order to this:
editid = $(this).attr("id");
var css = GetCssProperties();
jQuery AJAX Call Returns null Response Time to Time