Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

readme.md

Gopher

Hello there, Gopher is a plugin for jQuery.Chosen, to improve efficiency when duplicate selection.


Demo

Click here

Demo page


How To Use the Gopher

  • Include jQuery,Chosen and Gopher to your HTML.

  • Preper your source-select element : there are source option a lot options

     <select id="source_select">
     	<option>there are source option </option>
     </select>
    
  • Trigger Chosen on your source select element:

      $("#source_select").chosen(); 
    
  • Trigger Gopher on other child-select elements which want to be like source select :

    I want to be source I want to be source I want to be source
       $('.child-select').gopher({
         main_select: document.getElementById('source_select'),
       });
    
  • All child-select already inheritance from source-select:

    I same as source a lot options I same as source a lot options I same as source a lot options

Support

  • jQuery 1.7+
  • Chosen 1.85+

Reference

About

A plugin for jQuery.Chosen, to improve efficiency when duplicate selection.

Resources

License

Releases

No releases published

Packages

No packages published