Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript onclick append a new row to table

<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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #onclick #append #row #table
ADD COMMENT
Topic
Name
5+7 =