How to select2 load on page without click at first time in jquery

I have implemented select2 with ajax, it is working fine but it works only when I click on element, I want to load it on page load without click in jquery. So please say me how I can do it?