<select multiple="multiple"> 数据回显

简介: var names = yunying_name.split(","); for (var i = 0; i < names.length; i++) { names[i] = names[i].

var names = yunying_name.split(",");
for (var i = 0; i < names.length; i++) {
names[i] = names[i].trim();
}
$("#yunying_name").val(names);

names=["a","b","c"];

目录
相关文章
|
4天前
|
数据库
Field ‘xxx‘ doesn‘t have a default value
Field ‘xxx‘ doesn‘t have a default value
16 0
|
11月前
Warning: [antd: Form.Item] `defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.
Warning: [antd: Form.Item] `defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.
351 0
|
11月前
|
数据库
Field ‘id‘ doesn‘t have a default value
Field ‘id‘ doesn‘t have a default value
125 0
|
JavaScript 前端开发 开发者
Component name “xxx“ should always be multi-word
Component name “xxx“ should always be multi-word
Component name “xxx“ should always be multi-word
How to enable multiple text type for Product
Created by Jerry Wang, last modified on Oct 31, 2014
107 0
How to enable multiple text type for Product
|
数据库
Multiple Server Query Execution报The result set could not be merged..
在SQL Server中使用Multiple Server Query Execution这个功能做数据库维护或脚本发布时非常方便,昨天由于磁盘空间原因,删除清理了大量的软件和组件,结果导致SSMS客户端出了问题,重装过后,使用Multiple Server Query Execution时,出现了...
957 0
|
JavaScript 安全 前端开发
What Is ElectronJS and Why Should You Use It?
In this three-part tutorial, we will explore how to create a fully functional invoice application using ElectronJS and ApsaraDB for MongoDB.
2621 0
What Is ElectronJS and Why Should You Use It?