[英]jQuery UI Autocomplete to expand from right to left
Trying to get the div.ui-autocomplete
to expand from right to left, this is the problem I'm having right now. 试图让
div.ui-autocomplete
从右向左扩展,这就是我现在遇到的问题。
Can this be fixed using CSS or is there a way to do that with jQuery? 这可以使用CSS修复,还是有办法用jQuery做到这一点?
I think you can do that with the position option of the autocomplete widget 我认为你可以使用自动完成小部件的位置选项来做到这一点
$( ".selector" ).autocomplete({
position: {
my : "right top",
at: "right bottom"
}
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.