javascript - how to increase value of input type text after submitting data values into database -


if click on submit button kot value increased 1...initially 0, , after submitting data databaseit page redirected page only.

<table>    <tr>      <td>        <label for="kot_no">kot no</label>          <input type="text" id="kot_no" name="kotno" value="" class="option">          <label for="table_no">table no</label>        <input type="text" id="table_no" name="tableno" class="option" placeholder="0">        <br>        <br>          <label for="menu">enter menu name</label>        <input type="text" placeholder="enter menu name" name="menuname">        <br>        <br>          <label for="quantity">enter quantity</label>        <input type="text" placeholder="enter quantity" name="quantity" style="margin-left: 25px">        <br>        <br>        <input type="submit" style="margin-left: 124px" class="button">        <br>      </td>    </tr>  </table>


Comments