
            }
    );

  });

  function changeAppIdSelect(appId, instance_select) {
    console.log('instance_select:' + instance_select);
    console.log(appId);

    document.getElementById(instance_select).options.length = 0;
    $('#' + instance_select).selectpicker('destroy');
    $('#' + instance_select).selectpicker();

    $.post('${request.contextPath}/manage/app/tool/diagnostic/appInstances',
            {
              appId: appId,
            },
            function (data) {
              var 