1
我有一个带有控件的网格视图。 网格视图有CSS类“网格”。忽略包含下拉菜单的gridview单元格
我正在循环网格视图并选择其中的文本,但我不想选择在这个网格视图中的下拉内的文本。
$('.grid tr td').live('mouseover',
function() {
$(this).attr("title", $(this).text());
$(this).aToolTip({
// no need to change/override
closeTipBtn: 'aToolTipCloseBtn',
toolTipId: 'aToolTip',
// ok to override
fixed: false, // Set true to activate fixed position
clickIt: false, // set to true for click activated tooltip
inSpeed: 200, // Speed tooltip fades in
outSpeed: 100, // Speed tooltip fades out
tipContent: '', // Pass in content or it will use objects 'title' attribute
toolTipClass: 'defaultTheme', // Set class name for custom theme/styles
xOffset: 5, // x position
yOffset: 5, // y position
onShow: null, // callback function that fires after atooltip has shown
onHide: null // callback function that fires after atooltip has faded out
});
});
这是我的jQuery代码来循环网格,但我不知道如何从这个循环过滤下拉菜单。
我试过$('.grid tr td').not('.dropdownCssClass').live('mouseover',
但不工作 请帮帮我。