Jump to content

Selecting multiple countries in Autocomplete feature within <textextra>


Oris

Recommended Posts

I am using the W3autocomplete https://www.w3schools.com/howto/howto_js_autocomplete.asp and replaced 

 

<div class="autocomplete" style="width:300px;">

<input id="myInput" type="text" name="myCountry" placeholder="Country">

</div>

<input type="submit">

With

<div class="autocomplete">

<textarea id="myInput" autofocus class="form-control" name="symbols" placeholder="symbols" type="text"></textarea>

</div>

Which created the <textextra> box where I want to update the code that when I select a country from the Autocomplete dropdown a new line is created where I can start typing a letter again and another iteration begin with a dropdown Autocomplete.  If that not possible then at least be able to press enter to create a new line where I can again choose another country from the Autocomplete dropdown. Thanks!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...