How to choose defoltnoy value in jquery autocomplette?

Hello! There is a list of jquery autocomplette in which loaded countries when you enter. In General the subject such as to simulate the choice of a country from the listwithout input from the user? i.e. that the choice was automatic. Who knows?

1-step see this: $( "#org_country" ).autocomplete( "search", "Russia" );
Finds in the list.
2-step: AND NOW to CHOOSE IT?

It turns out I need to simulate a select event on the found item, and how to do it?
September 19th 19 at 12:32
1 answer
September 19th 19 at 12:34
It is not entirely clear what will depend on the default selection (string constant comes from the outside, in principle, does not matter), but it is possible so:
And then look at the select, for example, and whether the access control from the user, or is our "default value"
don't go, you just assigned the value of bypassing autocomplette, and you need to simulate the selection of software. - Noe.Zemlak commented on September 19th 19 at 12:37

Find more questions by tags HTMLjQuery