elastichq auto connect

$(document).ready(function () {
        $('#connectionURL').focus();
        ajaxloading.hide();
        scrollToTop.activate();

        $("[rel=tipRight]").tooltip();
        $("[rel=popRight]").popover(
                {
                    'trigger': 'hover',
                    'animation': true
                }
        );
        $('#connectionURL').val("http://192.168.1.102:9200")
        $('#connectButton').trigger('click')
    });
原文地址:https://www.cnblogs.com/mayidudu/p/6126410.html