Answers for "adding a table row on click button js"

1

how to add new row in table on button click in javascript with next number

<table id="tbl">
    <tr>
        <td><input type="text" name="links" /></td>
        <td><input type="text" name="keywords" /></td> 
        <td><input type="text" name="violationtype" /></td>   
        <td><input type="submit" class="button" value="Add another line" onclick="addField(this);" /></td>          
    </tr>
</table>
Posted by: Guest on July-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language