I need to call GetAllProperties() function during page loading instead of calling the GetAllProperties() function after page is fully loaded. My code l
GetAllProperties()
Call your method just after including jquery: