0

私のプロジェクトでは、ボタンがクリックされたときに jsp ページをフェードさせ、親 (背後) ページを表示したいと考えています。

<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <style type="text/css">
        <!--
        .style1 {
            font-family: Arial, Helvetica, sans-serif;
            font-weight: bold;
            font-size: 12px;
        }
        -->
    </style>
    <link href="css/buttons.css" rel="stylesheet" type="text/css"/>
</head>
<body>
    <form name="form1"  method="post" action="analystServlet">
        <table width="100%"  border="0" cellspacing="1" cellpadding="1">
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td><span class="style1">Choose Source</span></td>
                <td><select name="source">
                        <option>Excel</option>
                        <option>Database</option>
                    </select></td>
            </tr>
            <tr>
                <td><input type="hidden" name="id" value="494"/></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2"><div align="center">
                        <input type="submit" class="button" onclick="hide()" name="exportHome" value="Submit"/>
                    </div></td>
            </tr>
        </table>
    </form>

</body>

送信ボタンをクリックすると、このページが薄れます。ありがとう、カルティカ KM

4

1 に答える 1