单击Jquery选项卡,将数据绑定到数据库的下拉列表中 [英] On Click of Jquery Tab, bind data to the drop down list from database

查看:75
本文介绍了单击Jquery选项卡,将数据绑定到数据库的下拉列表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我正在使用Jquery选项卡,我想在点击选项卡时将数据绑定到下拉列表。下拉列表放在选项卡中。我有几个标签。在每个选项卡上都有不同的下拉列表。

Hi friends,
I am using Jquery tab, I want to bind the data to the drop down list, on click of a tab. the drop down list is placed within the tab. I have several tabs. On each tab there are different drop down lists.

推荐答案

1)因此,基本上每个选项卡都可以点击一次。

在选项卡上单击事件处理程序,您可以访问发送者属性,这实际上是标签对象。



在此选项卡中导航(查找)下拉列表,使用:

1) So basically for each tab subscribe on a click.
On tab click event handler you can reach to sender property which is actually the tab object.

Within this tab navigate (find) drop down list with usage of:
var dropDowm =


#nameOfYourDropDown);





然后你可能会需要借助



Then you might need to get some data from Web-service by requesting it with help of either


.Ajax或

这篇关于单击Jquery选项卡,将数据绑定到数据库的下拉列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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