I need to call GetAllProperties() function during page loading instead of calling the GetAllProperties() function after page is fully loaded. My code l
GetAllProperties()
Try this code to call function: $(window).on('load', function() {GetAllProperties();});