Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
表未显示在选项卡Jquery下_Jquery_Tabs - Fatal编程技术网

表未显示在选项卡Jquery下

表未显示在选项卡Jquery下,jquery,tabs,Jquery,Tabs,我使用jquery以选项卡的方式显示应用程序、java版本的产品和底层环境。 版本详细信息将显示在表中,我们应该能够查看每个选项卡中的版本。不幸的是,当结果附加到第一个选项卡中时,它不会出现 fn_tab() { echo '<!DOCTYPE html><html lang = "en"> <head><meta charset = "utf-8">' echo '<meta name="viewport" content="width=d

我使用jquery以选项卡的方式显示应用程序、java版本的产品和底层环境。 版本详细信息将显示在表中,我们应该能够查看每个选项卡中的版本。不幸的是,当结果附加到第一个选项卡中时,它不会出现

fn_tab()
{
echo '<!DOCTYPE html><html lang = "en"> <head><meta charset = "utf-8">'
echo '<meta name="viewport" content="width=device-width, initial-scale=1">'
echo '<img src="http://www.bridge2solutions.com/wp-content/themes/bones-v1.06/library/images/logo2-b2s.jpg" width="225" height="78">'>>$WEB_DIR/AppleVersion.html
echo '<link href = "https://code.jquery.com/ui/1.12.1/themes/ui-lightness/jquery-ui.css" rel = "stylesheet">'>>$WEB_DIR/AppleVersion.html
echo '<link rel="stylesheet" href="/resources/demos/style.css">'>>$WEB_DIR/AppleVersion.html
echo '<link type="text/css"  href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7/themes/smoothness/jquery-ui.css rel="stylesheet">'>>$WEB_DIR/AppleVersion.html
echo  '<script src = "https://code.jquery.com/jquery-1.12.4.js"></script>'>>$WEB_DIR/AppleVersion.html
echo  '<script src = "https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>'>>$WEB_DIR/AppleVersion.html
   echo '   <script>
         $(function() {
            $( "#tabs" ).tabs();
         });
      </script>'>>$WEB_DIR/AppVersion.html
 echo '    <style>
         #tabs-1{font-size: 14px;}
         .ui-widget-header {
            background:#b9cd6d;
            border: 1px solid #b9cd6d;
            color: #FFFFFF;
            font-weight: bold;
         }
      </style>'>>$WEB_DIR/AppVersion.html


echo ' </head>'
echo ' <body>
      <div id = "tabs">
         <ul>
            <li><a href = "#tabs-1">PRODUCTION</a></li>
            <li><a href = "#tabs-2">BREAKFIX</a></li>
         </ul>
<div id = "tabs-1">
        <table border='1'>
        <tr>
        <th class='titulo'>Components</td>
        <th class='titulo'>App Version</td>
        <th class='titulo'>Java Version</td>
        </tr>
        <tr></tr><td>Webapp server</td><td>'${arr[0]}'</td><td>'${jarr[0]}'</td>
        <tr></tr><td>Admin server</td><td>'${arr[1]}'</td><td>'${jarr[1]}'</td>
        <tr></tr><td>Image Server</td><td>'1.3.43-171'</td><td>'1.8.0_51'</td>
        <tr></tr><td>Product Service</td><td>'${arr[2]}'</td><td>'${jarr[2]}'</td>
        <tr></tr><td>Order service</td><td>'${arr[3]}'</td><td>'${jarr[3]}'</td>

        </div>
        <div id = "tabs-2">

        <table border='1'>
        <tr>
        <th class='titulo'>Components</td>
        <th class='titulo'>App Version</td>
        <th class='titulo'>Java Version</td>

        </tr>
        <tr></tr><td>Webapp server</td><td>'${arr[0]}'</td><td>'${jarr[0]}'</td>
        <tr></tr><td>Admin server</td><td>'${arr[1]}'</td><td>'${jarr[1]}'</td>
        <tr></tr><td>Images Server</td><td>'1.3.43-171'</td><td>'1.8.0_51'</td>
        <tr></tr><td>Product Service</td><td>'${arr[2]}'</td><td>'${jarr[2]}'</td>
        <tr></tr><td>Order service</td><td>'${arr[3]}'</td><td>'${jarr[3]}'</td>
                </div>    
      </div>

 </body>'>> $WEB_DIR/Version.html

echo '</html>'
}

fn_tab
fn_选项卡()
{
回声“
回声“
echo'>>$WEB\u DIR/applevervion.html
echo'>>$WEB\u DIR/applevervion.html
echo'>>$WEB\u DIR/applevervion.html

echo'Webapp server'${arr[0]}'${jarr[0]}'。添加后关闭。Webapp server'${arr[0]}'${jarr[0]}没有收到您的请求,您是否要求我在使用onclick函数之后使用标记关闭?否。您在添加标记之前关闭标记。