jQueryUI autocomplete not working with dialog and zIndex

前端 未结 14 1286
孤独总比滥情好
孤独总比滥情好 2021-02-05 00:51

I ran into an interesting issue with jQueryUI autocomplete in a dialog box.

My dialog HTML looks like this:

14条回答
  •  轮回少年
    2021-02-05 01:02

    open:function(event){
    
            var target = $(event.target); 
            var widget = target.autocomplete("widget");
            widget.zIndex(target.zIndex() + 1); 
    
    },
    

提交回复
热议问题