How can I insert an option element at a specified index in a <select multiple> element?
<select multiple>
Thanks
$("select option").eq(index).before($("<option></option>").val(val).html(text));
1.4m articles
1.4m replys
5 comments
57.0k users