我有10个下拉菜单如何使用jquery单击列表中的按钮找到特定的下拉列表 [英] i have 10 dropdowns how to find specific dropdown when click the button in my list using jquery

查看:70
本文介绍了我有10个下拉菜单如何使用jquery单击列表中的按钮找到特定的下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有10个下拉菜单如何使用jquery

i have 10 dropdowns how to find specific dropdown in my list using jquery

推荐答案

function DropdownChange(e) {
    var selectedDropdownId = e.currentTarget.id;
}





本质上,获取活动的当前目标。



如果此解决方案对您有帮助,请将其标记为答案。



essentially, get the event's currentTarget.

Please mark it as answer, if this solution helps you.


这篇关于我有10个下拉菜单如何使用jquery单击列表中的按钮找到特定的下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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