dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Autocomplete - Countries and Flags

  1. #1
    Join Date
    Jul 2014
    Posts
    5

    Autocomplete - Countries and Flags

    Hi


    I create metabox in post edit page (Wordpress) with text area for description but Im stuck with countries names and flags, I have table inside database with all Countries and flags(img) my problem is that I want to make autocomplete input or something to search country name and automatically select flag

    Is it possible to help me also tell me if you have any alternative ideas how to do this.

    Thanks

  2. #2
    Itís simple to create or update a listing, and most channels provide many opportunities for you to set your listing apart from others by adding pictures or personal reviews. By keeping your listing active and updated, you can gain top placement when consumers search locally for your products and/or services.

  3. #3
    HTML Code:
    <h2>Ajax Lookup</h2>
        <p>Type country name in english:</p>
        <div>
            <input type="text" name="country" id="autocomplete-ajax"/>
        </div>
        <div id="selction-ajax"></div>
    
        <h2>Local Lookup</h2>
        <p>Type country name in english:</p>
        <div>
            <input type="text" name="country" id="autocomplete"/>
        </div>
        <div id="selection"></div>
    
        <h2>Custom Lookup Container</h2>
        <p>Type country name in english:</p>
        <div>
            <input type="text" name="country" id="autocomplete-custom-append" style="float: left;"/>
            <div id="suggestions-container" style="position: relative; float: left; width: 400px; margin: 10px;"></div>
        </div>
    </div>
    
    <script type="text/javascript" src="scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="scripts/jquery.mockjax.js"></script>
    <script type="text/javascript" src="src/jquery.autocomplete.js"></script>
    <script type="text/javascript" src="scripts/demo.js"></script>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles