1、首先,<select>标签里的option添加双击事件,达到删除该项的目的

3、html] vie嘛术铹砾w plain copy <select id="selectUserId" multiple="multiple">

5、然后,在ie中删除选中项,没有效果,后来查了一下,应该讲双击事件绑定到<select>,代码改为:

时间:2024-10-13 07:35:33
1、首先,<select>标签里的option添加双击事件,达到删除该项的目的
3、html] vie嘛术铹砾w plain copy <select id="selectUserId" multiple="multiple">
5、然后,在ie中删除选中项,没有效果,后来查了一下,应该讲双击事件绑定到<select>,代码改为: