Problem in select 2 library for select item

Problem in select 2 library for select item

I using select2 but I have a problem For example in select box I have two items and i set selected attribute for second item When page loaded I look at the select box, the value of the first item is displayed But when I open select box the second item selected What is problem?