Foreword
Projects to achieve multiple choice, think of using plug-in, choose the bootstrap-select.
Attach the official website link api, http://silviomoreto.github.io/bootstrap-select/ .
No Chinese. Deal and see. Have the opportunity to practice what each method will be summarized. I am also waiting.
They need to reference
1 2 3 4 5 6 7 8 |
|
Core Options
Some official website, looking forward translation. . .
The core method
Some official website, looking forward translation. . .
Examples of applications
After bootstrap layout, select multiple choice code is as follows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
js code:
1 2 3 4 5 |
|
Get the value, $ ( "# XXX"). Val () to
Echo operation:
. Method $ ( '. Selectpicker') selectpicker ( 'val', 'Mustard');
Mustard place filled array. code show as below:
1 2 3 |
|
That's all for this article, I want to be helpful to learn, I hope you will support script home.