Home > Web Front-end > JS Tutorial > body text

How to use js to control the left and right selection of a drop-down list

王林
Release: 2020-05-06 09:16:35
forward
1896 people have browsed it

How to use js to control the left and right selection of a drop-down list

需求分析

在我们的分类管理中,我们要能够去修改我们的分类信息,当我们点击修改的时候,可以跳转到一个能编辑的页面,这里面能够修改分类的名称、分类的描述、以及分类的商品。

技术分析

ondblclick="selectOne()"//双击事件
multiple="multiple"//select标签的属性
Copy after login

代码实现:


	
		
		
		
		
	
分类名称
分类描述
分类商品
已有商品

>>
>>>
未有商品

<<
<<<
Copy after login

推荐教程:js入门教程

The above is the detailed content of How to use js to control the left and right selection of a drop-down list. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!