简体   繁体   中英

How do i make my HTML page to remain after clicking submit?

I want after the user enter submit that the page will not change.

        <script src="doAction.js" language="Javascript" type="text/javascript"></script>
    <form name = "ex4Param" id="ex4Param"  method="post" onsubmit="doAction();" >
        <fieldset>
            <legend>Input section</legend>
        Query Sequence:<br/>
        <td><textarea rows="5" cols="84" id="enhancers" name="charSequence"></textarea></td>
             <form/>

onsubmit="return doAction();"

In doAction: return false

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM