I want to add more elements inside a list with multiple select checkboxes, but when I add more elements, they appear outside the list.
This is the code I want to put in:
<div class="select-box-style right">
<div class="your-list-title">Your Lists</div>
<select multiple="multiple" class="md_what_get right SlectBox">
<option selected value="electronics">Electronics</option>
<option value="games">Video Games</option>
<option value="books">Books</option>
<option value="others">Others</option>
</select>
<div class="add-list-box">
<input type="text" class="input-add-list" />
<label class="label-spcbtn-blue spr">Add</label>
</div>
</div>
I want the select option to be displayed like this:
As per your comments if you want to put it inside list you can do it as below:
Put it as first element:
DEMO
Put it as last element
DEMO
Update
Use your native
plugin
method as below:DEMO