Skip to content

lmarcon/jquery-richselect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-richselect

Image/HTML support in select options and opgroups

Quick usage

$(function(){
		$('#mySelect').richselect();
});

Markup

<select id="mySelect">
	<option selected="selected" value="-1">Select your option</option>
	<optgroup data-icon="imgs/administrator.png" label="category 1">
		<option>One</option>
		<option value="myVal2">Two</option>
		<option>Three</option>
	</optgroup>
	<optgroup data-icon="imgs/angel.png" label="category 2">
		<option>Four</option>
		<option>Five</option>
	</optgroup>
	<option>Six</option>
</select>

Demo

http://lmarcon.github.io/jquery-richselect/

Tested on: Chrome, Firefox, IE8+

About

Image/HTML support in select options and opgroups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published