javascript - Can not delete the new created row using angular.js -


i have issue.i have 1 add(+) button in each row of table when clicked on add button 1 new row adding.here need when new row create 1 -(remove) button stay previous row , when user click on remove button corresponding row delete.i have done not working.please check https://plnkr.co/edit/?p=preview

link code , please me.

try using table deleterow() method

document.getelementbyid("mytable").deleterow(index);

or use

array splice() method


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -