eliran
eliran

Reputation: 1

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/>

Upvotes: 0

Views: 209

Answers (1)

gaRex
gaRex

Reputation: 4215

onsubmit="return doAction();"

In doAction: return false

Upvotes: 1

Related Questions