Js用于更改下拉值的更改选定值的相应单元格值 [英] Js function to change respecive cell value onchange selected value of dropdown value

查看:71
本文介绍了Js用于更改下拉值的更改选定值的相应单元格值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我有一个javascript函数来更改下拉列表的chnage事件上的单元格的值。我的代码是workin但问题是单元格的值是chaning但不对应于所选的下拉列表(因为有15个下拉列表)列表和15个单元格),但仅限于第一个单元格。因此需要对每个细胞进行一些识别。任何人都可以帮我改进我的代码。

Hi. I have a javascript function to change the value of the cell on chnage event of a dropdown list.My code is workin but the problem is that the value of the cell is chaning but not respective to the selected dropdown list( as there are 15 dropdown list and 15 cells), but only on the 1st cell. So need some identification for each cell. Can anyone help me just refine my code.

展开 | 选择 | Wrap | 行号

推荐答案

当然你有发出唯一的 ID以使其正常工作。
of course you have to give out unique ids to get it working.


Yeahh Dormi我知道。但我真的知道如何改变我的代码来做到这一点。
Yeahh Dormi I know tht. But I really dnt knw how to change my code to do that.


怎么样
展开 | 选择 | 换行 | 行号


这篇关于Js用于更改下拉值的更改选定值的相应单元格值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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