Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select id="e1" multiple="multiple" style="width:300px">
- <option value="AL">Alabama</option>
- <option value="WY">Wyoming</option>
- </select>
- $("#e1").select2({
- formatSelection:function(state){
- return "<input type="text" value=""+1+"" class="quantity"/>" + state.text;
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement