f_atencia 0 Junior Poster in Training

I have a client-side form and it submits to itself using the 'GET' method. When the form is submitted, I can get the results, but I can't seem to hide the form itself. Is there a way of doing this using Javascript in an ASP file? The document.getElementById("myDiv").style.display="none" doesn't seem to work because it is a client-side code.

For example:

<div id="myDiv">
        <h1>Compare Workflows</h1>
        <form method="get" action="CompareWorkflow.asp" id="frmWorkflow">
            <table>
                <tr>
                    <td>From URL: </td>
                    <td>
                        <input type="text" id="txtFrom" name="txtFrom" value="" />
                        <span class="required" id="span"></span>
                    </td>
                </tr>
                <tr>
                    <td>To URL:</td>
                    <td><input type="text" id="txtTo" name="txtTo" value="" /></td>
                </tr>
                <tr>
                    <td>Application:</td>
                    <td><input type="text" id="application_id" name="application_id" value="" /></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" id="btnGetWorkflows" value="GetWorkflows" name="submit" /></td>
                </tr>
            </table>
        </form>
    </div>

I need that to disappear when I submit the form.

Any help would be greatly appreciated.