when calling the multi-select for the second time and more, the whole page goes left and causes problems. even if I remove the select and the div that multi-select has generated, still the problem is there.
This line is causing the issue :
ms.css({ position: 'absolute', left: '-9999px' });