显示与下拉列表相关 [英] show related to dropdown

查看:80
本文介绍了显示与下拉列表相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个下拉菜单. dr1包含16个项目,dr2为空.有两个文本框.现在我要做什么,我在dr1中选择一个项目,在文本框中输入文本,然后单击按钮,我对所有16个项目都做了.将dr1的选定项目复制到dr2时会发生什么,我想显示为该特定项目输入的文本,当我在dr2中选择该项目时也要显示.

i have 2 dropdown. dr1 that contains 16 items, dr2 is empty. there are two text boxes. now what i do, i select an item in dr1 enter text in the text boxes and click on button,i did it for all 16 items. what happens the selected item of dr1 is copied to dr2, i want to show the the text that was entered for that particular also be shown when i select the item in dr2. how is it possible?

推荐答案

单击按钮时,将在文本文本框中输入的文本连接到dr1的选定项.
然后将连接的字符串作为dr2的项.
Concatenate the text entered in the text text box to the selected item of dr1 when you click on the button.
Then make the concatenated string an item of the dr2.


这篇关于显示与下拉列表相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆