jsbeans.Select

back to jsbeans index

jsbeans.Select let you manage options of an HTML select object.
Dependant options
This method let you manage the scenario when options of a select depend from a selected option of another select.
:
:
code

	
Ordering options
This method can be both static or not, but in both cases let you order select's options by value.
:

:

code

	
Source/destination selects
A simple way to switch options between two selects. Final result can be ordered or just appended.
Ordering only source select

NO ordering




code

	
Remove selected
A simple method to remove selected options.


code

	
Minimum/maximum
A method to retrieve an option (as DOM object) whose text has a minimum or maximum string based on natural ordering.


code

	
Filtering
A simple way to dinamically filter options from a select.


code