src/main/webapp/jquery-easyui-1.3.3/src/jquery.tabs.js
/**
     * do first select action, if no tab is setted the first tab will be selected.
     */
do first select action, if no tab is setted the first tab will be selected.
do first select action if no tab is setted the first tab will be selected .
function doFirstSelect(container) {
        var tabs = $.data(container, 'tabs').tabs;
        for (var i = 0; i < tabs.length; i++) {
            if (tabs[i].panel('options').selected) {
                selectTab(container, i);
                return;
            }
        }
        if (tabs.length) {
            selectTab(container, 0);
        }
    }
function doFirstSelect ( container ) { var tabs = $ . data ( container , 'tabs' ) . tabs ; for ( var i = 0 ; i < tabs . length ; i ++ ) { if ( tabs [ i ] . panel ( 'options' ) . selected ) { selectTab ( container , i ) ; return ; } } if ( tabs . length ) { selectTab ( container , 0 ) ; } }
do first select action, if no tab is setted the first tab will be selected.
do first select action if no tab is setted the first tab will be selected .