jQuery UI Multiselect Widget
Branch: master
Clone or download
yanickrochon Merge pull request #167 from ssi-anik/master
Selected option order issue resolved
Latest commit 71eda5f Jan 30, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
js Selected option order issue resolved Jan 29, 2016
.gitignore birthday Apr 20, 2009
MIT-LICENSE.txt added search capabilities and more ... May 5, 2009
index.html Removed Google Analytics scripts. Mar 27, 2011
version.txt applied Yanick's patches May 18, 2009


jQuery UI Multiselect

This repository is no longer actively maintained by the author. However, pull requests are always welcome. If there's someone interested in officially maintaining the plugin, please let me know.

In case you are looking for an AJAX version, please also consider "Yanick Rochon's":http://github.com/michael/multiselect/tree/next version, or also check the official "version 2.0":https://github.com/yanickrochon/jquery.uix.multiselect currently in development.

To get the order of the selected items as selected, you can do like

var form = $("form#my_form");
$(form).on('submit', function(){
	$("ul.selected li").each(function(){
		var selected_value = $(this).attr('data-selected-value');
			$(form).append("<input type='hidden' value='" + selected_value + "' name='selected_items_values_in_order[]' />");