Javascript 我想为所选项目附加一个click evet,并在jquery中的autocomplete控件中显示鼠标悬停时的工具提示

Javascript 我想为所选项目附加一个click evet,并在jquery中的autocomplete控件中显示鼠标悬停时的工具提示,javascript,jquery,asp.net,Javascript,Jquery,Asp.net,我在代码隐藏中生成上述代码。 我想为所选项目附加一个click evet,并在jquery中的autocomplete控件中显示鼠标悬停时的工具提示 提前感谢据我所知,自动完成插件在“div”控件中呈现提示项。你可以试试类似的东西 $(document).ready(function(){ $("#select3").fcbkcomplete({ json_url: "data.txt", addo

我在代码隐藏中生成上述代码。 我想为所选项目附加一个click evet,并在jquery中的autocomplete控件中显示鼠标悬停时的工具提示


提前感谢

据我所知,自动完成插件在“div”控件中呈现提示项。你可以试试类似的东西

  $(document).ready(function(){                
       $("#select3").fcbkcomplete({
            json_url: "data.txt",
            addontab: true,                   
            maxitems: 10,
            input_min_size: 0,
            height: 10,
            cache: true,
            newel: true,
            select_all_text: "select",
       });
   });
希望这能有所帮助

根据,这应该有效:

$("#select3 div").click(function() { });
$("#select3 div").title("...");
希望这有帮助

   $("#select3").fcbkcomplete({
        json_url: "data.txt",
        addontab: true,                   
        maxitems: 10,
        input_min_size: 0,
        height: 10,
        cache: true,
        newel: true,
        select_all_text: "select",
        focus: function (event, ui) {
            //your mouse over event, also includes keyboard arrow key
            //ui.item has the focused item data: ui.item.label or ui.item.value
            your show tooltip function here.
        },
        select: function (event, ui) {
            //your click event, also includes enter key and tab key to select
            //event.target is your item
            your click action here.
        }
   });