The following example shows how to use the imList plugin with the display.type option set to "select". Use the select option to create a dropdown box.
The data returned from the server should be Json object. The example below uses following data:
[{"member_id": "1", "name": "Jack O\'neal"},
{"member_id": "2", "name": "Samantha Carter"},
{"member_id": "3", "name": "Daniel Jackson"},
{"member_id": "4", "name": "Teal\'c"},
{"member_id": "5", "name": "General Hammond"}]
View the source code for this page to view how to use the plugin. For documentation about the imList plugin, view the blog post.