Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

michael/multiselect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

73 Commits

Repository files navigation

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');
		if(selected_value){
			$(form).append("<input type='hidden' value='" + selected_value + "' name='selected_items_values_in_order[]' />");
		}
	});
});

About

jQuery UI Multiselect Widget

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 15

AltStyle によって変換されたページ (->オリジナル) /