如何显示jQuery自动完成列表向上方向 [英] How to show jquery autocomplete list upward direction

查看:60
本文介绍了如何显示jQuery自动完成列表向上方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当jquery自动完成列表出现在任何网格的最底行并且在单元格内输入文本时,如何显示其向上方向.

How to show jquery autocomplete list upward direction when it will appear at the bottom most row of any grid with a text input inside the cell.

推荐答案

您可以指定位置选项:

$("#yourInput").autocomplete({
    position: {
        my: "left bottom",
        at: "left top"
    }
});

这篇关于如何显示jQuery自动完成列表向上方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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