javascript code to display textbox values in temporary html table

Below is my textbox code. I need to display this textbox value in to new table on button click.

For example, suppose I enter raj in the textbox and click submit. Then it displays in the below table. Again I enter lucky in the textbox and click submit. Then it displays in below table like wise.

How can I do this? Please help.

 name
 raj
 lucky etc..

Below is my HTML:

<tr>
    <td>
        Customer Name : 
        <input type="textbox" name="customer" required="">
    </td>
</tr>


Source: jquery

Leave a Reply