jQuery MultiSelector Basic Demo

Look the source code and check the console to understand how the plugin works.