从预先输入列表中打开弹出窗口 [英] open popover from typeahead list

查看:68
本文介绍了从预先输入列表中打开弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个来自引导程序的typeahead文本字段.我想做的是:当您从预先输入列表中单击一个项目时,他们将打开一个弹出窗口,并将其放置在文本字段中.这可能吗?

I have a typeahead textfield from bootstrap. What I want to do is: When you click on an item from typeahead list they open a popover and it will be placed on the textfield. Is this possible?

我已经有一个包含onclick="alert(000)" rel="popover"的项目.如果单击它,警报框将打开,因此它可以执行某些操作.但是弹出窗口不起作用.甚至可以通过预输入打开弹出窗口吗?

I already have an item that have onclick="alert(000)" rel="popover". If I click on it the alertbox will open, so it can do something. But the popover doesnt work. Is it even possible to open a popover from typeahead?

推荐答案

虽然选项没有记录,你可以用它做一些事情,当一个项目被选中: 查看全文

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