小编Shu*_*wal的帖子

jQuery UI焦点问题

我正在接受问题

无法获取未定义或空引用的属性'_focusTabbable'

我正在使用Jquery-ui-1.10.2.custom.js

我在这里遇到问题

if ( !$.ui.dialog.overlayInstances ) {
    // Prevent use of anchors and inputs.
    // We use a delay in case the overlay is created from an
    // event that we're going to be cancelling. (#2804)
    this._delay(function() {
        // Handle .dialog().dialog("close") (#4065)
        if ( $.ui.dialog.overlayInstances ) {
            this.document.bind( "focusin.dialog", function( event ) {
                if ( !that._allowInteraction( event ) ) {
                    event.preventDefault();
                    **$(".ui-dialog:visible:last .ui-dialog-content")
                        .data( widgetFullName )._focusTabbable();**
                }
            });
        }
    });
}
Run Code Online (Sandbox Code Playgroud)

jquery-ui

6
推荐指数
1
解决办法
5042
查看次数

标签 统计

jquery-ui ×1