这个按钮如何做一个双击删除呢?

https://img3.mukewang.com/5c3308420001bef103310053.jpg

   <div  class="center">

           <label>已选区域</label>

           <div class="yixuanquyu">

           <button class="yixuanquyu_1" value="">上地北边</button>

           <span class="blank_1">双击可删除</span>

           </div>

   </div>


动漫人物
浏览 349回答 1
1回答

蝴蝶不菲

&nbsp;<div&nbsp; class="center">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<label>已选区域</label>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<div class="yixuanquyu">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<button class="yixuanquyu_1" value="" onDblClick="this.remove()">上地北边</button>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="blank_1">双击可删除</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>&nbsp; &nbsp;</div>
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript