How to add a delete/remove button per each option item in html select?
I need create or use a library to create a custom html select to delete
each item in the html select. Something like this:
<select>
<option value="volvo">Volvo</option> <button>delete</button>
<option value="saab">Saab</option> <button>delete</button>
<option value="mercedes">Mercedes</option> <button>delete</button>
<option value="audi">Audi</option> <button>delete</button>
</select>
I have searched how to do this and for any library that might exist to do
this, but I haven't found anything. In IOS exists this but I need
something like that but for html.
No comments:
Post a Comment