如何在JavaScript或JQuery中获取和设置Gridview下拉列表selectedvalue。 [英] How to get and Set Gridview Dropdownlist Selectedvalue In JavaScript Or JQuery.
本文介绍了如何在JavaScript或JQuery中获取和设置Gridview下拉列表selectedvalue。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个gridview,其中有两个Templatefields,其下拉列表为ItemTemplates。
在第一个DropDownList的SelectedValue Changed事件中,我想得到Second DropDownList的值并检查它与firt的副本反之亦然。
两个DropDownList的SelectedValue都不一样。
请帮我解决这个问题。
提前致谢。
I have a gridview in which i have two Templatefields which are having dropdownlist as ItemTemplates.
On First DropDownList's SelectedValue Changed event,i want to get Second DropDownList's Value & check it with the firt's and vice versa.
Both DropDownList's SelectedValue should not be the same.
Please help me to solve this problem.
Thanks in advance.
推荐答案
这篇关于如何在JavaScript或JQuery中获取和设置Gridview下拉列表selectedvalue。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文