--- title: Remote Data Examples nav_title: Remote Data tags: demo ---

Tom Select works with a variety of data sources including data hosted on remote servers. Our examples below use JavaScript's Fetch API but you can just as easily use jQuery.ajax(), XMLHttpRequest, or any other method of retrieving data from a server.

{% from "demo.njk" import demo %} {% set label %}

We use JavaScript's native Fetch API in this example to retrieve remote data from GitHub

{% endset %} {% set html %} {% endset %} {{ demo( label, html, script, style) }} {% set label %}

Load a list of web technologies once

{% endset %} {% set html %} {% endset %} {{ demo( label, html, script, style) }} {% set label %} {% endset %} {% set html %}
{% endset %} {{ demo( label, html, script, style) }}